#451F78#451F78

#451F78 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.142 H 298.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#451F78
RGBrgb(69, 31, 120)
HSLhsl(266, 59%, 30%)
HSVhsv(266, 74%, 47%)
CMYKcmyk(42.5%, 74.2%, 0%, 52.9%)
CIE-LABlab(22.31, 37.60, -43.98)
CIE-LCHlch(22.31, 57.86, 310.53°)
OKLaboklab(34.69% 0.0669 -0.1257)
OKLCHoklch(34.69% 0.142 298)
XYZxyz(6.3335, 3.6011, 18.1271)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F78 #52781F
analogous
#1F2678 #451F78 #721F78
triadic
#451F78 #78451F #1F7845
tetradic
#451F78 #781F26 #52781F #1F7872
square
#451F78 #781F26 #52781F #1F7872
split-complementary
#451F78 #78721F #26781F
monochromatic
#0E0618 #291247 #451F78 #612CA9 #7F43CE

Accessibility & contrast

On white

12.21
#451F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F78
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F78#FFFFFF#000000##FFFFFF
##451F781.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.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: #451f78;
/* rgb */ color: rgb(69, 31, 120);
/* oklch */ color: oklch(34.7% 0.142 298.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ea0',
    500: '#451f78',
    950: '#000000',
  },
}
SCSS
$custom: #451f78;
$custom-light: #7e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#451f78",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 265.618,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34694,
    "c": 0.14235,
    "h": 298
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#451F78
secondary
#81AB47
accent
#E2469F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #451F78

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

Preview Lab → · Contrast checker → · Palette generator →

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