#421B95#421B95

#421B95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.180 H 288.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#421B95
RGBrgb(66, 27, 149)
HSLhsl(259, 69%, 35%)
HSVhsv(259, 82%, 58%)
CMYKcmyk(55.7%, 81.9%, 0%, 41.6%)
CIE-LABlab(24.04, 47.11, -59.35)
CIE-LCHlch(24.04, 75.78, 308.44°)
OKLaboklab(36.67% 0.0572 -0.1708)
OKLCHoklch(36.67% 0.18 288.5)
XYZxyz(8.0619, 4.1116, 28.7968)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B95 #6E951B
analogous
#1B3195 #421B95 #7F1B95
triadic
#421B95 #95421B #1B9542
tetradic
#421B95 #951B31 #6E951B #1B957F
square
#421B95 #951B31 #6E951B #1B957F
split-complementary
#421B95 #957F1B #31951B
monochromatic
#14082D #2B1261 #421B95 #5924C9 #7B4CDF

Accessibility & contrast

On white

11.52
#421B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#421B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B95
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B95#FFFFFF#000000##FFFFFF
##421B951.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#1F3F59
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421b95;
/* rgb */ color: rgb(66, 27, 149);
/* oklch */ color: oklch(36.7% 0.180 288.5);
Tailwind
colors: {
  custom: {
    50: '#815db5',
    500: '#421b95',
    950: '#000000',
  },
}
SCSS
$custom: #421b95;
$custom-light: #815db5;
$custom-dark: #000000;
JSON
{
  "hex": "#421b95",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 259.18,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36666,
    "c": 0.18011,
    "h": 288.5
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#421B95
secondary
#9BC14B
accent
#EC3CB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421B95

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

Preview Lab → · Contrast checker → · Palette generator →

#421B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva