#451E78#451E78

#451E78 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.144 H 298.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#451E78
RGBrgb(69, 30, 120)
HSLhsl(266, 60%, 29%)
HSVhsv(266, 75%, 47%)
CMYKcmyk(42.5%, 75%, 0%, 52.9%)
CIE-LABlab(22.12, 38.11, -44.28)
CIE-LCHlch(22.12, 58.42, 310.72°)
OKLaboklab(34.56% 0.0679 -0.1265)
OKLCHoklch(34.56% 0.144 298.2)
XYZxyz(6.3078, 3.5497, 18.1185)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451E78 #51781E
analogous
#1E2478 #451E78 #721E78
triadic
#451E78 #78451E #1E7845
tetradic
#451E78 #781E24 #51781E #1E7872
square
#451E78 #781E24 #51781E #1E7872
split-complementary
#451E78 #78721E #24781E
monochromatic
#0E0618 #291247 #451E78 #612AA9 #7F41CF

Accessibility & contrast

On white

12.28
#451E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451E78
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451E78#FFFFFF#000000##FFFFFF
##451E781.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#383549
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451e78;
/* rgb */ color: rgb(69, 30, 120);
/* oklch */ color: oklch(34.6% 0.144 298.2);
Tailwind
colors: {
  custom: {
    50: '#7e5ea0',
    500: '#451e78',
    950: '#000000',
  },
}
SCSS
$custom: #451e78;
$custom-light: #7e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#451e78",
  "rgb": {
    "r": 69,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 266,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34564,
    "c": 0.1436,
    "h": 298.2
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#451E78
secondary
#80AC46
accent
#E3459E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451E78

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

Preview Lab → · Contrast checker → · Palette generator →

#451E78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva