#451B8E#451B8E

#451B8E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.172 H 292.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#451B8E
RGBrgb(69, 27, 142)
HSLhsl(262, 68%, 33%)
HSVhsv(262, 81%, 56%)
CMYKcmyk(51.4%, 81%, 0%, 44.3%)
CIE-LABlab(23.68, 45.58, -55.59)
CIE-LCHlch(23.68, 71.89, 309.35°)
OKLaboklab(36.28% 0.0644 -0.1597)
OKLCHoklch(36.28% 0.172 292)
XYZxyz(7.7273, 4.0018, 25.9512)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B8E #648E1B
analogous
#1B2A8E #451B8E #7E1B8E
triadic
#451B8E #8E451B #1B8E45
tetradic
#451B8E #8E1B2A #648E1B #1B8E7E
square
#451B8E #8E1B2A #648E1B #1B8E7E
split-complementary
#451B8E #8E7E1B #2A8E1B
monochromatic
#130727 #2C115B #451B8E #5E25C1 #7E47DC

Accessibility & contrast

On white

11.66
#451B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#451B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B8E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B8E#FFFFFF#000000##FFFFFF
##451B8E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#2C3C55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #451b8e;
/* rgb */ color: rgb(69, 27, 142);
/* oklch */ color: oklch(36.3% 0.172 292.0);
Tailwind
colors: {
  custom: {
    50: '#815db0',
    500: '#451b8e',
    950: '#000000',
  },
}
SCSS
$custom: #451b8e;
$custom-light: #815db0;
$custom-dark: #000000;
JSON
{
  "hex": "#451b8e",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 261.913,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.17219,
    "h": 292
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#451B8E
secondary
#92BE47
accent
#EB3DAB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #451B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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