#421789#421789

#421789 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.170 H 292.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#421789
RGBrgb(66, 23, 137)
HSLhsl(263, 71%, 31%)
HSVhsv(263, 83%, 54%)
CMYKcmyk(51.8%, 83.2%, 0%, 46.3%)
CIE-LABlab(22.22, 45.51, -54.88)
CIE-LCHlch(22.22, 71.30, 309.67°)
OKLaboklab(35.04% 0.0641 -0.1577)
OKLCHoklch(35.04% 0.17 292.1)
XYZxyz(7.0672, 3.5769, 23.9801)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421789 #5E8917
analogous
#172589 #421789 #7B1789
triadic
#421789 #894217 #178942
tetradic
#421789 #891725 #5E8917 #17897B
square
#421789 #891725 #5E8917 #17897B
split-complementary
#421789 #897B17 #258917
monochromatic
#100520 #290E55 #421789 #5B20BD #793CDE

Accessibility & contrast

On white

12.24
#421789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421789
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421789#FFFFFF#000000##FFFFFF
##4217891.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421789;
/* rgb */ color: rgb(66, 23, 137);
/* oklch */ color: oklch(35.0% 0.170 292.1);
Tailwind
colors: {
  custom: {
    50: '#7f5bac',
    500: '#421789',
    950: '#000000',
  },
}
SCSS
$custom: #421789;
$custom-light: #7f5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#421789",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 262.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.17021,
    "h": 292.1
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#421789
secondary
#8DBD3F
accent
#EE3AAA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421789

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

Preview Lab → · Contrast checker → · Palette generator →

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