#421F5E#421F5E

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

Color values

HEX#421F5E
RGBrgb(66, 31, 94)
HSLhsl(273, 50%, 25%)
HSVhsv(273, 67%, 37%)
CMYKcmyk(29.8%, 67%, 0%, 63.1%)
CIE-LABlab(19.83, 29.83, -31.11)
CIE-LCHlch(19.83, 43.10, 313.80°)
OKLaboklab(32.17% 0.0658 -0.0879)
OKLCHoklch(32.17% 0.11 306.8)
XYZxyz(4.7567, 2.9464, 10.9056)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F5E #3B5E1F
analogous
#221F5E #421F5E #5E1F5B
triadic
#421F5E #5E421F #1F5E42
tetradic
#421F5E #5E221F #3B5E1F #1F5B5E
square
#421F5E #5E221F #3B5E1F #1F5B5E
split-complementary
#421F5E #5B5E1F #1F5E22
monochromatic
#100817 #221030 #421F5E #622E8C #833DBA

Accessibility & contrast

On white

13.21
#421F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#421F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F5E
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F5E#FFFFFF#000000##FFFFFF
##421F5E1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#13305D
Tritanopia (blue-blind)
#3D2C3B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421f5e;
/* rgb */ color: rgb(66, 31, 94);
/* oklch */ color: oklch(32.2% 0.110 306.8);
Tailwind
colors: {
  custom: {
    50: '#795d8c',
    500: '#421f5e',
    950: '#000000',
  },
}
SCSS
$custom: #421f5e;
$custom-light: #795d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#421f5e",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 273.333,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.10986,
    "h": 306.8
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#421F5E
secondary
#689346
accent
#DA4E8C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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