#451987#451987

#451987 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.166 H 294.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#451987
RGBrgb(69, 25, 135)
HSLhsl(264, 69%, 31%)
HSVhsv(264, 81%, 53%)
CMYKcmyk(48.9%, 81.5%, 0%, 47.1%)
CIE-LABlab(22.69, 44.55, -52.85)
CIE-LCHlch(22.69, 69.12, 310.13°)
OKLaboklab(35.39% 0.0682 -0.1516)
OKLCHoklch(35.39% 0.166 294.2)
XYZxyz(7.1738, 3.7095, 23.2550)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451987 #5B8719
analogous
#192487 #451987 #7C1987
triadic
#451987 #874519 #198745
tetradic
#451987 #871924 #5B8719 #19877C
square
#451987 #871924 #5B8719 #19877C
split-complementary
#451987 #877C19 #248719
monochromatic
#100620 #2B0F53 #451987 #5F23BB #7E3FDB

Accessibility & contrast

On white

12.06
#451987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#451987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451987
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451987#FFFFFF#000000##FFFFFF
##4519871.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#313850
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451987;
/* rgb */ color: rgb(69, 25, 135);
/* oklch */ color: oklch(35.4% 0.166 294.2);
Tailwind
colors: {
  custom: {
    50: '#805cab',
    500: '#451987',
    950: '#000000',
  },
}
SCSS
$custom: #451987;
$custom-light: #805cab;
$custom-dark: #000000;
JSON
{
  "hex": "#451987",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 264,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.16627,
    "h": 294.2
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#451987
secondary
#8ABA41
accent
#EC3CA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451987

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

Preview Lab → · Contrast checker → · Palette generator →

#451987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva