#421A5E#421A5E

#421A5E is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.4% C 0.118 H 308.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#421A5E
RGBrgb(66, 26, 94)
HSLhsl(275, 57%, 24%)
HSVhsv(275, 72%, 37%)
CMYKcmyk(29.8%, 72.3%, 0%, 63.1%)
CIE-LABlab(18.82, 32.59, -32.73)
CIE-LCHlch(18.82, 46.19, 314.88°)
OKLaboklab(31.45% 0.0724 -0.0927)
OKLCHoklch(31.45% 0.118 308)
XYZxyz(4.6361, 2.7053, 10.8654)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A5E #365E1A
analogous
#201A5E #421A5E #5E1A58
triadic
#421A5E #5E421A #1A5E42
tetradic
#421A5E #5E201A #365E1A #1A585E
square
#421A5E #5E201A #365E1A #1A585E
split-complementary
#421A5E #585E1A #1A5E20
monochromatic
#110718 #200D2E #421A5E #64278E #8535BE

Accessibility & contrast

On white

13.63
#421A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A5E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A5E#FFFFFF#000000##FFFFFF
##421A5E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#0B2E5D
Tritanopia (blue-blind)
#3E2939
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421a5e;
/* rgb */ color: rgb(66, 26, 94);
/* oklch */ color: oklch(31.4% 0.118 308.0);
Tailwind
colors: {
  custom: {
    50: '#795a8c',
    500: '#421a5e',
    950: '#000000',
  },
}
SCSS
$custom: #421a5e;
$custom-light: #795a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#421a5e",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 275.294,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3145,
    "c": 0.11759,
    "h": 308
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#421A5E
secondary
#629440
accent
#E04886
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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