#421996#421996

#421996 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.183 H 288.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#421996
RGBrgb(66, 25, 150)
HSLhsl(260, 71%, 34%)
HSVhsv(260, 83%, 59%)
CMYKcmyk(56%, 83.3%, 0%, 41.2%)
CIE-LABlab(23.85, 48.23, -60.27)
CIE-LCHlch(23.85, 77.19, 308.67°)
OKLaboklab(36.57% 0.0582 -0.1734)
OKLCHoklch(36.57% 0.183 288.5)
XYZxyz(8.0978, 4.0551, 29.2043)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421996 #6D9619
analogous
#192F96 #421996 #811996
triadic
#421996 #964219 #199642
tetradic
#421996 #96192F #6D9619 #199681
square
#421996 #96192F #6D9619 #199681
split-complementary
#421996 #968119 #2F9619
monochromatic
#14082D #2B1062 #421996 #5922CA #7B49E1

Accessibility & contrast

On white

11.59
#421996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#421996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421996
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421996#FFFFFF#000000##FFFFFF
##4219961.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#1E3F59
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421996;
/* rgb */ color: rgb(66, 25, 150);
/* oklch */ color: oklch(36.6% 0.183 288.5);
Tailwind
colors: {
  custom: {
    50: '#815db6',
    500: '#421996',
    950: '#000000',
  },
}
SCSS
$custom: #421996;
$custom-light: #815db6;
$custom-dark: #000000;
JSON
{
  "hex": "#421996",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 259.68,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.18293,
    "h": 288.5
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#421996
secondary
#9AC249
accent
#EE3AB3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #421996

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

Preview Lab → · Contrast checker → · Palette generator →

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