#421889#421889

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

Color values

HEX#421889
RGBrgb(66, 24, 137)
HSLhsl(262, 70%, 32%)
HSVhsv(262, 82%, 54%)
CMYKcmyk(51.8%, 82.5%, 0%, 46.3%)
CIE-LABlab(22.36, 45.09, -54.65)
CIE-LCHlch(22.36, 70.85, 309.53°)
OKLaboklab(35.14% 0.0634 -0.157)
OKLCHoklch(35.14% 0.169 292)
XYZxyz(7.0875, 3.6174, 23.9868)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421889 #5F8918
analogous
#182789 #421889 #7B1889
triadic
#421889 #894218 #188942
tetradic
#421889 #891827 #5F8918 #18897B
square
#421889 #891827 #5F8918 #18897B
split-complementary
#421889 #897B18 #278918
monochromatic
#100621 #290F55 #421889 #5B21BD #793EDD

Accessibility & contrast

On white

12.18
#421889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421889
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421889#FFFFFF#000000##FFFFFF
##4218891.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.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: #421889;
/* rgb */ color: rgb(66, 24, 137);
/* oklch */ color: oklch(35.1% 0.169 292.0);
Tailwind
colors: {
  custom: {
    50: '#7f5bac',
    500: '#421889',
    950: '#000000',
  },
}
SCSS
$custom: #421889;
$custom-light: #7f5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#421889",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 262.301,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.16932,
    "h": 292
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#421889
secondary
#8EBD40
accent
#ED3BAB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421889

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

Preview Lab → · Contrast checker → · Palette generator →

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