#421B94#421B94

#421B94 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.179 H 288.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#421B94
RGBrgb(66, 27, 148)
HSLhsl(259, 69%, 34%)
HSVhsv(259, 82%, 58%)
CMYKcmyk(55.4%, 81.8%, 0%, 42%)
CIE-LABlab(23.93, 46.83, -58.90)
CIE-LCHlch(23.93, 75.25, 308.49°)
OKLaboklab(36.56% 0.0576 -0.1695)
OKLCHoklch(36.56% 0.179 288.8)
XYZxyz(7.9824, 4.0798, 28.3781)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B94 #6D941B
analogous
#1B3094 #421B94 #7F1B94
triadic
#421B94 #94421B #1B9442
tetradic
#421B94 #941B30 #6D941B #1B947F
square
#421B94 #941B30 #6D941B #1B947F
split-complementary
#421B94 #947F1B #30941B
monochromatic
#14082C #2B1260 #421B94 #5924C8 #7B4BDE

Accessibility & contrast

On white

11.56
#421B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B94
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B94#FFFFFF#000000##FFFFFF
##421B941.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#203F58
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #421b94;
/* rgb */ color: rgb(66, 27, 148);
/* oklch */ color: oklch(36.6% 0.179 288.8);
Tailwind
colors: {
  custom: {
    50: '#805db5',
    500: '#421b94',
    950: '#000000',
  },
}
SCSS
$custom: #421b94;
$custom-light: #805db5;
$custom-dark: #000000;
JSON
{
  "hex": "#421b94",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 259.339,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.17898,
    "h": 288.8
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#421B94
secondary
#9AC04B
accent
#EC3CB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421B94

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

Preview Lab → · Contrast checker → · Palette generator →

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