#421885#421885

#421885 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.165 H 293.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#421885
RGBrgb(66, 24, 133)
HSLhsl(263, 69%, 31%)
HSVhsv(263, 82%, 52%)
CMYKcmyk(50.4%, 82%, 0%, 47.8%)
CIE-LABlab(21.96, 44.00, -52.80)
CIE-LCHlch(21.96, 68.73, 309.81°)
OKLaboklab(34.74% 0.0648 -0.1516)
OKLCHoklch(34.74% 0.165 293.1)
XYZxyz(6.8059, 3.5047, 22.5036)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421885 #5B8518
analogous
#182485 #421885 #781885
triadic
#421885 #854218 #188542
tetradic
#421885 #851824 #5B8518 #188578
square
#421885 #851824 #5B8518 #188578
split-complementary
#421885 #857818 #248518
monochromatic
#0F051D #280F51 #421885 #5C21B9 #793CDC

Accessibility & contrast

On white

12.35
#421885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#421885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421885
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421885#FFFFFF#000000##FFFFFF
##4218851.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#2D374F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421885;
/* rgb */ color: rgb(66, 24, 133);
/* oklch */ color: oklch(34.7% 0.165 293.1);
Tailwind
colors: {
  custom: {
    50: '#7e5baa',
    500: '#421885',
    950: '#000000',
  },
}
SCSS
$custom: #421885;
$custom-light: #7e5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#421885",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 263.119,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34737,
    "c": 0.16485,
    "h": 293.1
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#421885
secondary
#8AB940
accent
#EC3CA8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421885

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

Preview Lab → · Contrast checker → · Palette generator →

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