#421F5B#421F5B

#421F5B is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.106 H 308.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#421F5B
RGBrgb(66, 31, 91)
HSLhsl(275, 49%, 24%)
HSVhsv(275, 66%, 36%)
CMYKcmyk(27.5%, 65.9%, 0%, 64.3%)
CIE-LABlab(19.61, 29.03, -29.46)
CIE-LCHlch(19.61, 41.36, 314.58°)
OKLaboklab(31.95% 0.066 -0.0831)
OKLCHoklch(31.95% 0.106 308.4)
XYZxyz(4.6247, 2.8936, 10.2104)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F5B #385B1F
analogous
#241F5B #421F5B #5B1F56
triadic
#421F5B #5B421F #1F5B42
tetradic
#421F5B #5B241F #385B1F #1F565B
square
#421F5B #5B241F #385B1F #1F565B
split-complementary
#421F5B #565B1F #1F5B24
monochromatic
#110817 #210F2D #421F5B #632F89 #843EB6

Accessibility & contrast

On white

13.30
#421F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F5B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F5B#FFFFFF#000000##FFFFFF
##421F5B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#16305A
Tritanopia (blue-blind)
#3E2B39
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421f5b;
/* rgb */ color: rgb(66, 31, 91);
/* oklch */ color: oklch(31.9% 0.106 308.4);
Tailwind
colors: {
  custom: {
    50: '#795d8a',
    500: '#421f5b',
    950: '#000000',
  },
}
SCSS
$custom: #421f5b;
$custom-light: #795d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#421f5b",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 275,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31949,
    "c": 0.1061,
    "h": 308.4
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#421F5B
secondary
#659046
accent
#D94F88
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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