#451687#451687

#451687 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.169 H 294.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#451687
RGBrgb(69, 22, 135)
HSLhsl(265, 72%, 31%)
HSVhsv(265, 84%, 53%)
CMYKcmyk(48.9%, 83.7%, 0%, 47.1%)
CIE-LABlab(22.26, 45.79, -53.55)
CIE-LCHlch(22.26, 70.46, 310.53°)
OKLaboklab(35.09% 0.0704 -0.1537)
OKLCHoklch(35.09% 0.169 294.6)
XYZxyz(7.1131, 3.5881, 23.2348)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451687 #588716
analogous
#161F87 #451687 #7D1687
triadic
#451687 #874516 #168745
tetradic
#451687 #87161F #588716 #16877D
square
#451687 #87161F #588716 #16877D
split-complementary
#451687 #877D16 #1F8716
monochromatic
#0F051E #2A0D52 #451687 #601FBC #7E39DF

Accessibility & contrast

On white

12.23
#451687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#451687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451687
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451687#FFFFFF#000000##FFFFFF
##4516871.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#313750
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451687;
/* rgb */ color: rgb(69, 22, 135);
/* oklch */ color: oklch(35.1% 0.169 294.6);
Tailwind
colors: {
  custom: {
    50: '#805aab',
    500: '#451687',
    950: '#000000',
  },
}
SCSS
$custom: #451687;
$custom-light: #805aab;
$custom-dark: #000000;
JSON
{
  "hex": "#451687",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 264.956,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.16903,
    "h": 294.6
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#451687
secondary
#87BB3E
accent
#EF39A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451687

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

Preview Lab → · Contrast checker → · Palette generator →

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