#421F5D#421F5D

#421F5D is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 307.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#421F5D
RGBrgb(66, 31, 93)
HSLhsl(274, 50%, 24%)
HSVhsv(274, 67%, 36%)
CMYKcmyk(29%, 66.7%, 0%, 63.5%)
CIE-LABlab(19.76, 29.56, -30.56)
CIE-LCHlch(19.76, 42.52, 314.05°)
OKLaboklab(32.1% 0.0659 -0.0863)
OKLCHoklch(32.1% 0.109 307.4)
XYZxyz(4.7121, 2.9286, 10.6708)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F5D #3A5D1F
analogous
#231F5D #421F5D #5D1F59
triadic
#421F5D #5D421F #1F5D42
tetradic
#421F5D #5D231F #3A5D1F #1F595D
square
#421F5D #5D231F #3A5D1F #1F595D
split-complementary
#421F5D #595D1F #1F5D23
monochromatic
#100817 #21102F #421F5D #632E8B #833EB9

Accessibility & contrast

On white

13.24
#421F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F5D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F5D#FFFFFF#000000##FFFFFF
##421F5D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012F5F
Deuteranopia (green-blind)
#14305C
Tritanopia (blue-blind)
#3E2B3A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421f5d;
/* rgb */ color: rgb(66, 31, 93);
/* oklch */ color: oklch(32.1% 0.109 307.4);
Tailwind
colors: {
  custom: {
    50: '#795d8b',
    500: '#421f5d',
    950: '#000000',
  },
}
SCSS
$custom: #421f5d;
$custom-light: #795d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421f5d",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 273.871,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32098,
    "c": 0.1086,
    "h": 307.4
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#421F5D
secondary
#679246
accent
#DA4E8B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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