#421B5F#421B5F

#421B5F is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.117 H 307.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#421B5F
RGBrgb(66, 27, 95)
HSLhsl(274, 56%, 24%)
HSVhsv(274, 72%, 37%)
CMYKcmyk(30.5%, 71.6%, 0%, 62.7%)
CIE-LABlab(19.09, 32.32, -32.96)
CIE-LCHlch(19.09, 46.16, 314.44°)
OKLaboklab(31.67% 0.071 -0.0933)
OKLCHoklch(31.67% 0.117 307.3)
XYZxyz(4.7038, 2.7684, 11.1108)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B5F #385F1B
analogous
#201B5F #421B5F #5F1B5A
triadic
#421B5F #5F421B #1B5F42
tetradic
#421B5F #5F201B #385F1B #1B5A5F
square
#421B5F #5F201B #385F1B #1B5A5F
split-complementary
#421B5F #5A5F1B #1B5F20
monochromatic
#110718 #210D2F #421B5F #63298F #8436BE

Accessibility & contrast

On white

13.52
#421B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421B5F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B5F#FFFFFF#000000##FFFFFF
##421B5F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#3D2A3A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421b5f;
/* rgb */ color: rgb(66, 27, 95);
/* oklch */ color: oklch(31.7% 0.117 307.3);
Tailwind
colors: {
  custom: {
    50: '#795a8d',
    500: '#421b5f',
    950: '#000000',
  },
}
SCSS
$custom: #421b5f;
$custom-light: #795a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#421b5f",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 274.412,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.11729,
    "h": 307.3
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#421B5F
secondary
#659541
accent
#DF4989
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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