#421A5B#421A5B

#421A5B is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.114 H 309.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#421A5B
RGBrgb(66, 26, 91)
HSLhsl(277, 56%, 23%)
HSVhsv(277, 71%, 36%)
CMYKcmyk(27.5%, 71.4%, 0%, 64.3%)
CIE-LABlab(18.59, 31.82, -31.10)
CIE-LCHlch(18.59, 44.49, 315.66°)
OKLaboklab(31.21% 0.0727 -0.0879)
OKLCHoklch(31.21% 0.114 309.6)
XYZxyz(4.5041, 2.6525, 10.1702)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A5B #335B1A
analogous
#211A5B #421A5B #5B1A53
triadic
#421A5B #5B421A #1A5B42
tetradic
#421A5B #5B211A #335B1A #1A535B
square
#421A5B #5B211A #335B1A #1A535B
split-complementary
#421A5B #535B1A #1A5B21
monochromatic
#110718 #1F0C2B #421A5B #65288B #8735BA

Accessibility & contrast

On white

13.72
#421A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#421A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A5B
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A5B#FFFFFF#000000##FFFFFF
##421A5B1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#102E5A
Tritanopia (blue-blind)
#3E2838
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421a5b;
/* rgb */ color: rgb(66, 26, 91);
/* oklch */ color: oklch(31.2% 0.114 309.6);
Tailwind
colors: {
  custom: {
    50: '#795a8a',
    500: '#421a5b',
    950: '#000000',
  },
}
SCSS
$custom: #421a5b;
$custom-light: #795a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#421a5b",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 276.923,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.11405,
    "h": 309.6
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#421A5B
secondary
#5F9140
accent
#DF4983
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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