#451273#451273

#451273 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.151 H 302.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#451273
RGBrgb(69, 18, 115)
HSLhsl(272, 73%, 26%)
HSVhsv(272, 84%, 45%)
CMYKcmyk(40%, 84.3%, 0%, 54.9%)
CIE-LABlab(19.78, 42.20, -44.89)
CIE-LCHlch(19.78, 61.61, 313.23°)
OKLaboklab(32.78% 0.0803 -0.1282)
OKLCHoklch(32.78% 0.151 302.1)
XYZxyz(5.7643, 2.9356, 16.4793)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451273 #407312
analogous
#141273 #451273 #731270
triadic
#451273 #734512 #127345
tetradic
#451273 #731412 #407312 #127073
square
#451273 #731412 #407312 #127073
split-complementary
#451273 #707312 #127314
monochromatic
#10041A #250A3E #451273 #651AA8 #8423DD

Accessibility & contrast

On white

13.23
#451273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#451273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451273
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451273#FFFFFF#000000##FFFFFF
##4512731.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#3B2D43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #451273;
/* rgb */ color: rgb(69, 18, 115);
/* oklch */ color: oklch(32.8% 0.151 302.1);
Tailwind
colors: {
  custom: {
    50: '#7e579c',
    500: '#451273',
    950: '#000000',
  },
}
SCSS
$custom: #451273;
$custom-light: #7e579c;
$custom-dark: #000000;
JSON
{
  "hex": "#451273",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 271.546,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32784,
    "c": 0.15131,
    "h": 302.1
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#451273
secondary
#6DAA37
accent
#F0388F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451273

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#451273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva