#421B83#421B83

#421B83 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.160 H 293.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#421B83
RGBrgb(66, 27, 131)
HSLhsl(263, 66%, 31%)
HSVhsv(263, 79%, 51%)
CMYKcmyk(49.6%, 79.4%, 0%, 48.6%)
CIE-LABlab(22.23, 42.10, -51.09)
CIE-LCHlch(22.23, 66.20, 309.49°)
OKLaboklab(34.87% 0.0631 -0.1466)
OKLCHoklch(34.87% 0.16 293.3)
XYZxyz(6.7343, 3.5806, 21.8046)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B83 #5C831B
analogous
#1B2883 #421B83 #761B83
triadic
#421B83 #83421B #1B8342
tetradic
#421B83 #831B28 #5C831B #1B8376
square
#421B83 #831B28 #5C831B #1B8376
split-complementary
#421B83 #83761B #28831B
monochromatic
#0F061E #281150 #421B83 #5C25B6 #7941D8

Accessibility & contrast

On white

12.24
#421B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#421B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B83
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B83#FFFFFF#000000##FFFFFF
##421B831.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#2E384E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #421b83;
/* rgb */ color: rgb(66, 27, 131);
/* oklch */ color: oklch(34.9% 0.160 293.3);
Tailwind
colors: {
  custom: {
    50: '#7e5ca8',
    500: '#421b83',
    950: '#000000',
  },
}
SCSS
$custom: #421b83;
$custom-light: #7e5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#421b83",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 262.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.1596,
    "h": 293.3
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#421B83
secondary
#8BB643
accent
#E93FA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421B83

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

Preview Lab → · Contrast checker → · Palette generator →

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