#451D8E#451D8E

#451D8E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.170 H 291.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#451D8E
RGBrgb(69, 29, 142)
HSLhsl(261, 66%, 34%)
HSVhsv(261, 80%, 56%)
CMYKcmyk(51.4%, 79.6%, 0%, 44.3%)
CIE-LABlab(23.99, 44.68, -55.08)
CIE-LCHlch(23.99, 70.93, 309.05°)
OKLaboklab(36.5% 0.0629 -0.1582)
OKLCHoklch(36.5% 0.17 291.7)
XYZxyz(7.7747, 4.0966, 25.9670)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451D8E #668E1D
analogous
#1D2D8E #451D8E #7D1D8E
triadic
#451D8E #8E451D #1D8E45
tetradic
#451D8E #8E1D2D #668E1D #1D8E7D
square
#451D8E #8E1D2D #668E1D #1D8E7D
split-complementary
#451D8E #8E7D1D #2D8E1D
monochromatic
#140828 #2C135B #451D8E #5E27C1 #7E4BDA

Accessibility & contrast

On white

11.54
#451D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#451D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451D8E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451D8E#FFFFFF#000000##FFFFFF
##451D8E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#2C3D55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #451d8e;
/* rgb */ color: rgb(69, 29, 142);
/* oklch */ color: oklch(36.5% 0.170 291.7);
Tailwind
colors: {
  custom: {
    50: '#815eb0',
    500: '#451d8e',
    950: '#000000',
  },
}
SCSS
$custom: #451d8e;
$custom-light: #815eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#451d8e",
  "rgb": {
    "r": 69,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 261.239,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.365,
    "c": 0.17026,
    "h": 291.7
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#451D8E
secondary
#94BD4A
accent
#E93FAD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #451D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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