#421D83#421D83

#421D83 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.157 H 292.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#421D83
RGBrgb(66, 29, 131)
HSLhsl(262, 64%, 31%)
HSVhsv(262, 78%, 51%)
CMYKcmyk(49.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(22.57, 41.14, -50.54)
CIE-LCHlch(22.57, 65.17, 309.14°)
OKLaboklab(35.1% 0.0614 -0.145)
OKLCHoklch(35.1% 0.157 292.9)
XYZxyz(6.7817, 3.6754, 21.8204)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D83 #5E831D
analogous
#1D2B83 #421D83 #751D83
triadic
#421D83 #83421D #1D8342
tetradic
#421D83 #831D2B #5E831D #1D8375
square
#421D83 #831D2B #5E831D #1D8375
split-complementary
#421D83 #83751D #2B831D
monochromatic
#10071F #291251 #421D83 #5B28B5 #7945D6

Accessibility & contrast

On white

12.10
#421D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#421D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D83
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D83#FFFFFF#000000##FFFFFF
##421D831.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#2E394F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #421d83;
/* rgb */ color: rgb(66, 29, 131);
/* oklch */ color: oklch(35.1% 0.157 292.9);
Tailwind
colors: {
  custom: {
    50: '#7e5da8',
    500: '#421d83',
    950: '#000000',
  },
}
SCSS
$custom: #421d83;
$custom-light: #7e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#421d83",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 261.765,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35101,
    "c": 0.15748,
    "h": 292.9
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#421D83
secondary
#8DB646
accent
#E741AB
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421D83

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

Preview Lab → · Contrast checker → · Palette generator →

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