#451988#451988

#451988 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.167 H 293.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#451988
RGBrgb(69, 25, 136)
HSLhsl(264, 69%, 32%)
HSVhsv(264, 82%, 53%)
CMYKcmyk(49.3%, 81.6%, 0%, 46.7%)
CIE-LABlab(22.79, 44.82, -53.31)
CIE-LCHlch(22.79, 69.65, 310.05°)
OKLaboklab(35.48% 0.0679 -0.153)
OKLCHoklch(35.48% 0.167 293.9)
XYZxyz(7.2446, 3.7378, 23.6275)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451988 #5C8819
analogous
#192588 #451988 #7D1988
triadic
#451988 #884519 #198845
tetradic
#451988 #881925 #5C8819 #19887D
square
#451988 #881925 #5C8819 #19887D
split-complementary
#451988 #887D19 #258819
monochromatic
#110621 #2B0F54 #451988 #5F23BC #7E40DC

Accessibility & contrast

On white

12.02
#451988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#451988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451988
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451988#FFFFFF#000000##FFFFFF
##4519881.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#303951
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451988;
/* rgb */ color: rgb(69, 25, 136);
/* oklch */ color: oklch(35.5% 0.167 293.9);
Tailwind
colors: {
  custom: {
    50: '#805cac',
    500: '#451988',
    950: '#000000',
  },
}
SCSS
$custom: #451988;
$custom-light: #805cac;
$custom-dark: #000000;
JSON
{
  "hex": "#451988",
  "rgb": {
    "r": 69,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 263.784,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.16739,
    "h": 293.9
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#451988
secondary
#8BBB41
accent
#EC3CA6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451988

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

Preview Lab → · Contrast checker → · Palette generator →

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