#421886#421886

#421886 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.166 H 292.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#421886
RGBrgb(66, 24, 134)
HSLhsl(263, 70%, 31%)
HSVhsv(263, 82%, 53%)
CMYKcmyk(50.7%, 82.1%, 0%, 47.5%)
CIE-LABlab(22.06, 44.27, -53.26)
CIE-LCHlch(22.06, 69.26, 309.73°)
OKLaboklab(34.84% 0.0645 -0.1529)
OKLCHoklch(34.84% 0.166 292.9)
XYZxyz(6.8753, 3.5325, 22.8692)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421886 #5C8618
analogous
#182586 #421886 #791886
triadic
#421886 #864218 #188642
tetradic
#421886 #861825 #5C8618 #188679
square
#421886 #861825 #5C8618 #188679
split-complementary
#421886 #867918 #258618
monochromatic
#0F051E #280F52 #421886 #5C21BA #793CDC

Accessibility & contrast

On white

12.31
#421886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421886
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421886#FFFFFF#000000##FFFFFF
##4218861.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#2C384F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421886;
/* rgb */ color: rgb(66, 24, 134);
/* oklch */ color: oklch(34.8% 0.166 292.9);
Tailwind
colors: {
  custom: {
    50: '#7e5baa',
    500: '#421886',
    950: '#000000',
  },
}
SCSS
$custom: #421886;
$custom-light: #7e5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#421886",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 262.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.16597,
    "h": 292.9
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#421886
secondary
#8BBA40
accent
#EC3BA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421886

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

Preview Lab → · Contrast checker → · Palette generator →

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