#451F87#451F87

#451F87 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.160 H 293.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#451F87
RGBrgb(69, 31, 135)
HSLhsl(262, 63%, 33%)
HSVhsv(262, 77%, 53%)
CMYKcmyk(48.9%, 77%, 0%, 47.1%)
CIE-LABlab(23.65, 41.78, -51.27)
CIE-LCHlch(23.65, 66.13, 309.18°)
OKLaboklab(36.06% 0.0633 -0.147)
OKLCHoklch(36.06% 0.16 293.3)
XYZxyz(7.3162, 3.9942, 23.3025)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F87 #61871F
analogous
#1F2D87 #451F87 #791F87
triadic
#451F87 #87451F #1F8745
tetradic
#451F87 #871F2D #61871F #1F8779
square
#451F87 #871F2D #61871F #1F8779
split-complementary
#451F87 #87791F #2D871F
monochromatic
#120823 #2C1455 #451F87 #5E2AB9 #7E4BD6

Accessibility & contrast

On white

11.67
#451F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451F87
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F87#FFFFFF#000000##FFFFFF
##451F871.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#313B52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #451f87;
/* rgb */ color: rgb(69, 31, 135);
/* oklch */ color: oklch(36.1% 0.160 293.3);
Tailwind
colors: {
  custom: {
    50: '#805fab',
    500: '#451f87',
    950: '#000000',
  },
}
SCSS
$custom: #451f87;
$custom-light: #805fab;
$custom-dark: #000000;
JSON
{
  "hex": "#451f87",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 261.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36061,
    "c": 0.16009,
    "h": 293.3
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#451F87
secondary
#90B84A
accent
#E642AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #451F87

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

Preview Lab → · Contrast checker → · Palette generator →

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