#421E5D#421E5D

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

Color values

HEX#421E5D
RGBrgb(66, 30, 93)
HSLhsl(274, 51%, 24%)
HSVhsv(274, 68%, 36%)
CMYKcmyk(29%, 67.7%, 0%, 63.5%)
CIE-LABlab(19.55, 30.13, -30.90)
CIE-LCHlch(19.55, 43.16, 314.28°)
OKLaboklab(31.95% 0.0673 -0.0873)
OKLCHoklch(31.95% 0.11 307.6)
XYZxyz(4.6864, 2.8772, 10.6623)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E5D #395D1E
analogous
#231E5D #421E5D #5D1E59
triadic
#421E5D #5D421E #1E5D42
tetradic
#421E5D #5D231E #395D1E #1E595D
square
#421E5D #5D231E #395D1E #1E595D
split-complementary
#421E5D #595D1E #1E5D23
monochromatic
#100717 #210F2F #421E5D #632D8B #843CBA

Accessibility & contrast

On white

13.33
#421E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E5D
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E5D#FFFFFF#000000##FFFFFF
##421E5D1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#3E2B3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421e5d;
/* rgb */ color: rgb(66, 30, 93);
/* oklch */ color: oklch(31.9% 0.110 307.6);
Tailwind
colors: {
  custom: {
    50: '#795c8b',
    500: '#421e5d',
    950: '#000000',
  },
}
SCSS
$custom: #421e5d;
$custom-light: #795c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421e5d",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 274.286,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31946,
    "c": 0.11021,
    "h": 307.6
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#421E5D
secondary
#669245
accent
#DB4D8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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