#421B5E#421B5E

#421B5E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.116 H 307.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#421B5E
RGBrgb(66, 27, 94)
HSLhsl(275, 55%, 24%)
HSVhsv(275, 71%, 37%)
CMYKcmyk(29.8%, 71.3%, 0%, 63.1%)
CIE-LABlab(19.01, 32.06, -32.42)
CIE-LCHlch(19.01, 45.59, 314.68°)
OKLaboklab(31.59% 0.0711 -0.0918)
OKLCHoklch(31.59% 0.116 307.8)
XYZxyz(4.6587, 2.7503, 10.8730)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B5E #375E1B
analogous
#201B5E #421B5E #5E1B58
triadic
#421B5E #5E421B #1B5E42
tetradic
#421B5E #5E201B #375E1B #1B585E
square
#421B5E #5E201B #375E1B #1B585E
split-complementary
#421B5E #585E1B #1B5E20
monochromatic
#110718 #210D2E #421B5E #63298E #8536BD

Accessibility & contrast

On white

13.55
#421B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B5E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B5E#FFFFFF#000000##FFFFFF
##421B5E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#3E293A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421b5e;
/* rgb */ color: rgb(66, 27, 94);
/* oklch */ color: oklch(31.6% 0.116 307.8);
Tailwind
colors: {
  custom: {
    50: '#795a8c',
    500: '#421b5e',
    950: '#000000',
  },
}
SCSS
$custom: #421b5e;
$custom-light: #795a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#421b5e",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 274.925,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31588,
    "c": 0.11609,
    "h": 307.8
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#421B5E
secondary
#649441
accent
#DF4988
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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