#421B9F#421B9F

#421B9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.191 H 286.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#421B9F
RGBrgb(66, 27, 159)
HSLhsl(258, 71%, 36%)
HSVhsv(258, 83%, 62%)
CMYKcmyk(58.5%, 83%, 0%, 37.6%)
CIE-LABlab(25.09, 49.89, -63.75)
CIE-LCHlch(25.09, 80.95, 308.05°)
OKLaboklab(37.71% 0.0537 -0.1836)
OKLCHoklch(37.71% 0.191 286.3)
XYZxyz(8.8948, 4.4448, 33.1834)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B9F #789F1B
analogous
#1B369F #421B9F #841B9F
triadic
#421B9F #9F421B #1B9F42
tetradic
#421B9F #9F1B36 #789F1B #1B9F84
square
#421B9F #9F1B36 #789F1B #1B9F84
split-complementary
#421B9F #9F841B #369F1B
monochromatic
#170936 #2C126B #421B9F #5824D3 #7D53E2

Accessibility & contrast

On white

11.12
#421B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#421B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B9F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B9F#FFFFFF#000000##FFFFFF
##421B9F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#11445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421b9f;
/* rgb */ color: rgb(66, 27, 159);
/* oklch */ color: oklch(37.7% 0.191 286.3);
Tailwind
colors: {
  custom: {
    50: '#825ebd',
    500: '#421b9f',
    950: '#000000',
  },
}
SCSS
$custom: #421b9f;
$custom-light: #825ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#421b9f",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 257.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.19131,
    "h": 286.3
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#421B9F
secondary
#A2C551
accent
#EE3AB9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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