#421689#421689

#421689 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.171 H 292.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#421689
RGBrgb(66, 22, 137)
HSLhsl(263, 72%, 31%)
HSVhsv(263, 84%, 54%)
CMYKcmyk(51.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(22.08, 45.92, -55.11)
CIE-LCHlch(22.08, 71.73, 309.80°)
OKLaboklab(34.94% 0.0648 -0.1583)
OKLCHoklch(34.94% 0.171 292.3)
XYZxyz(7.0478, 3.5379, 23.9736)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421689 #5D8916
analogous
#162389 #421689 #7B1689
triadic
#421689 #894216 #168942
tetradic
#421689 #891623 #5D8916 #16897B
square
#421689 #891623 #5D8916 #16897B
split-complementary
#421689 #897B16 #238916
monochromatic
#0F0520 #290E54 #421689 #5B1EBE #793ADF

Accessibility & contrast

On white

12.30
#421689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#421689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421689
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421689#FFFFFF#000000##FFFFFF
##4216891.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#2A3851
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421689;
/* rgb */ color: rgb(66, 22, 137);
/* oklch */ color: oklch(34.9% 0.171 292.3);
Tailwind
colors: {
  custom: {
    50: '#7f5aad',
    500: '#421689',
    950: '#000000',
  },
}
SCSS
$custom: #421689;
$custom-light: #7f5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#421689",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 262.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34942,
    "c": 0.17108,
    "h": 292.3
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#421689
secondary
#8CBD3E
accent
#EF39A9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421689

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

Preview Lab → · Contrast checker → · Palette generator →

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