#421A5D#421A5D

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

Color values

HEX#421A5D
RGBrgb(66, 26, 93)
HSLhsl(276, 56%, 23%)
HSVhsv(276, 72%, 36%)
CMYKcmyk(29%, 72%, 0%, 63.5%)
CIE-LABlab(18.75, 32.33, -32.19)
CIE-LCHlch(18.75, 45.62, 315.13°)
OKLaboklab(31.37% 0.0725 -0.0911)
OKLCHoklch(31.37% 0.116 308.5)
XYZxyz(4.5915, 2.6874, 10.6306)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A5D #355D1A
analogous
#201A5D #421A5D #5D1A56
triadic
#421A5D #5D421A #1A5D42
tetradic
#421A5D #5D201A #355D1A #1A565D
square
#421A5D #5D201A #355D1A #1A565D
split-complementary
#421A5D #565D1A #1A5D20
monochromatic
#110718 #200D2D #421A5D #64278D #8635BD

Accessibility & contrast

On white

13.66
#421A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421A5D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A5D#FFFFFF#000000##FFFFFF
##421A5D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#0D2E5C
Tritanopia (blue-blind)
#3E2839
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421a5d;
/* rgb */ color: rgb(66, 26, 93);
/* oklch */ color: oklch(31.4% 0.116 308.5);
Tailwind
colors: {
  custom: {
    50: '#795a8b',
    500: '#421a5d',
    950: '#000000',
  },
}
SCSS
$custom: #421a5d;
$custom-light: #795a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#421a5d",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 275.821,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.11641,
    "h": 308.5
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#421A5D
secondary
#619340
accent
#E04885
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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