#451F88#451F88

#451F88 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.161 H 293.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#451F88
RGBrgb(69, 31, 136)
HSLhsl(262, 63%, 33%)
HSVhsv(262, 77%, 53%)
CMYKcmyk(49.3%, 77.2%, 0%, 46.7%)
CIE-LABlab(23.75, 42.06, -51.74)
CIE-LCHlch(23.75, 66.68, 309.11°)
OKLaboklab(36.16% 0.063 -0.1484)
OKLCHoklch(36.16% 0.161 293)
XYZxyz(7.3869, 4.0225, 23.6750)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F88 #62881F
analogous
#1F2E88 #451F88 #791F88
triadic
#451F88 #88451F #1F8845
tetradic
#451F88 #881F2E #62881F #1F8879
square
#451F88 #881F2E #62881F #1F8879
split-complementary
#451F88 #88791F #2E881F
monochromatic
#120824 #2C1456 #451F88 #5E2ABA #7E4BD6

Accessibility & contrast

On white

11.64
#451F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451F88
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F88#FFFFFF#000000##FFFFFF
##451F881.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#303B52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #451f88;
/* rgb */ color: rgb(69, 31, 136);
/* oklch */ color: oklch(36.2% 0.161 293.0);
Tailwind
colors: {
  custom: {
    50: '#805fac',
    500: '#451f88',
    950: '#000000',
  },
}
SCSS
$custom: #451f88;
$custom-light: #805fac;
$custom-dark: #000000;
JSON
{
  "hex": "#451f88",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 261.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36155,
    "c": 0.16125,
    "h": 293
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#451F88
secondary
#91B94A
accent
#E642AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #451F88

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

Preview Lab → · Contrast checker → · Palette generator →

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