#451F76#451F76

#451F76 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.140 H 298.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#451F76
RGBrgb(69, 31, 118)
HSLhsl(266, 58%, 29%)
HSVhsv(266, 74%, 46%)
CMYKcmyk(41.5%, 73.7%, 0%, 53.7%)
CIE-LABlab(22.14, 37.04, -42.98)
CIE-LCHlch(22.14, 56.74, 310.76°)
OKLaboklab(34.52% 0.0673 -0.1227)
OKLCHoklch(34.52% 0.14 298.7)
XYZxyz(6.2134, 3.5531, 17.4945)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F76 #50761F
analogous
#1F2576 #451F76 #711F76
triadic
#451F76 #76451F #1F7645
tetradic
#451F76 #761F25 #50761F #1F7671
square
#451F76 #761F25 #50761F #1F7671
split-complementary
#451F76 #76711F #25761F
monochromatic
#0E0618 #291246 #451F76 #612CA6 #7F42CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##451F76#FFFFFF#000000##FFFFFF
##451F761.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)
#003579
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#393448
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451f76;
/* rgb */ color: rgb(69, 31, 118);
/* oklch */ color: oklch(34.5% 0.140 298.7);
Tailwind
colors: {
  custom: {
    50: '#7e5e9e',
    500: '#451f76',
    950: '#000000',
  },
}
SCSS
$custom: #451f76;
$custom-light: #7e5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#451f76",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 266.207,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.13995,
    "h": 298.7
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#451F76
secondary
#7FAA47
accent
#E2469E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451F76

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

Preview Lab → · Contrast checker → · Palette generator →

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