#421B5C#421B5C

#421B5C is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.4% C 0.114 H 308.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#421B5C
RGBrgb(66, 27, 92)
HSLhsl(276, 55%, 23%)
HSVhsv(276, 71%, 36%)
CMYKcmyk(28.3%, 70.7%, 0%, 63.9%)
CIE-LABlab(18.86, 31.54, -31.33)
CIE-LCHlch(18.86, 44.46, 315.19°)
OKLaboklab(31.43% 0.0713 -0.0886)
OKLCHoklch(31.43% 0.114 308.8)
XYZxyz(4.5701, 2.7149, 10.4064)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B5C #355C1B
analogous
#211B5C #421B5C #5C1B55
triadic
#421B5C #5C421B #1B5C42
tetradic
#421B5C #5C211B #355C1B #1B555C
square
#421B5C #5C211B #355C1B #1B555C
split-complementary
#421B5C #555C1B #1B5C21
monochromatic
#110718 #200D2D #421B5C #64298B #8637BB

Accessibility & contrast

On white

13.61
#421B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B5C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B5C#FFFFFF#000000##FFFFFF
##421B5C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#102E5B
Tritanopia (blue-blind)
#3E2939
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421b5c;
/* rgb */ color: rgb(66, 27, 92);
/* oklch */ color: oklch(31.4% 0.114 308.8);
Tailwind
colors: {
  custom: {
    50: '#795a8b',
    500: '#421b5c',
    950: '#000000',
  },
}
SCSS
$custom: #421b5c;
$custom-light: #795a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421b5c",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 276,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.11371,
    "h": 308.8
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#421B5C
secondary
#619241
accent
#DE4A85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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