#451B81#451B81

#451B81 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.158 H 295.8°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#451B81
RGBrgb(69, 27, 129)
HSLhsl(265, 65%, 31%)
HSVhsv(265, 79%, 51%)
CMYKcmyk(46.5%, 79.1%, 0%, 49.4%)
CIE-LABlab(22.42, 42.03, -49.51)
CIE-LCHlch(22.42, 64.94, 310.33°)
OKLaboklab(35.03% 0.0685 -0.1418)
OKLCHoklch(35.03% 0.158 295.8)
XYZxyz(6.8076, 3.6339, 21.1074)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B81 #57811B
analogous
#1B2481 #451B81 #781B81
triadic
#451B81 #81451B #1B8145
tetradic
#451B81 #811B24 #57811B #1B8178
square
#451B81 #811B24 #57811B #1B8178
split-complementary
#451B81 #81781B #24811B
monochromatic
#0F061C #2A104E #451B81 #6026B4 #7E3FD7

Accessibility & contrast

On white

12.16
#451B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#451B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B81
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B81#FFFFFF#000000##FFFFFF
##451B811.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#34374D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451b81;
/* rgb */ color: rgb(69, 27, 129);
/* oklch */ color: oklch(35.0% 0.158 295.8);
Tailwind
colors: {
  custom: {
    50: '#7f5ca6',
    500: '#451b81',
    950: '#000000',
  },
}
SCSS
$custom: #451b81;
$custom-light: #7f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#451b81",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 264.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.15751,
    "h": 295.8
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#451B81
secondary
#86B543
accent
#E83FA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451B81

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

Preview Lab → · Contrast checker → · Palette generator →

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