#421E5E#421E5E

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

Color values

HEX#421E5E
RGBrgb(66, 30, 94)
HSLhsl(274, 52%, 24%)
HSVhsv(274, 68%, 37%)
CMYKcmyk(29.8%, 68.1%, 0%, 63.1%)
CIE-LABlab(19.62, 30.40, -31.45)
CIE-LCHlch(19.62, 43.74, 314.03°)
OKLaboklab(32.02% 0.0672 -0.0889)
OKLCHoklch(32.02% 0.111 307.1)
XYZxyz(4.7310, 2.8950, 10.8971)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E5E #3A5E1E
analogous
#221E5E #421E5E #5E1E5A
triadic
#421E5E #5E421E #1E5E42
tetradic
#421E5E #5E221E #3A5E1E #1E5A5E
square
#421E5E #5E221E #3A5E1E #1E5A5E
split-complementary
#421E5E #5A5E1E #1E5E22
monochromatic
#100717 #210F30 #421E5E #632D8C #833CBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421E5E#FFFFFF#000000##FFFFFF
##421E5E1.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)
#002E60
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#3D2B3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421e5e;
/* rgb */ color: rgb(66, 30, 94);
/* oklch */ color: oklch(32.0% 0.111 307.1);
Tailwind
colors: {
  custom: {
    50: '#795c8c',
    500: '#421e5e',
    950: '#000000',
  },
}
SCSS
$custom: #421e5e;
$custom-light: #795c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#421e5e",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 273.75,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32022,
    "c": 0.11145,
    "h": 307.1
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#421E5E
secondary
#679345
accent
#DB4D8B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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