#421F95#421F95

#421F95 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 288.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#421F95
RGBrgb(66, 31, 149)
HSLhsl(258, 66%, 35%)
HSVhsv(258, 79%, 58%)
CMYKcmyk(55.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(24.66, 45.30, -58.32)
CIE-LCHlch(24.66, 73.84, 307.84°)
OKLaboklab(37.1% 0.0545 -0.1678)
OKLCHoklch(37.1% 0.176 288)
XYZxyz(8.1600, 4.3077, 28.8294)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F95 #72951F
analogous
#1F3795 #421F95 #7D1F95
triadic
#421F95 #95421F #1F9542
tetradic
#421F95 #951F37 #72951F #1F957D
square
#421F95 #951F37 #72951F #1F957D
split-complementary
#421F95 #957D1F #37951F
monochromatic
#150A30 #2C1462 #421F95 #582AC8 #7C53DB

Accessibility & contrast

On white

11.28
#421F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#421F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F95
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F95#FFFFFF#000000##FFFFFF
##421F951.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1F415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #421f95;
/* rgb */ color: rgb(66, 31, 149);
/* oklch */ color: oklch(37.1% 0.176 288.0);
Tailwind
colors: {
  custom: {
    50: '#805fb5',
    500: '#421f95',
    950: '#000000',
  },
}
SCSS
$custom: #421f95;
$custom-light: #805fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#421f95",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 257.797,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.17642,
    "h": 288
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#421F95
secondary
#9EBF51
accent
#E93FB6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #421F95

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

Preview Lab → · Contrast checker → · Palette generator →

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