#421C83#421C83

#421C83 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.159 H 293.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#421C83
RGBrgb(66, 28, 131)
HSLhsl(262, 65%, 31%)
HSVhsv(262, 79%, 51%)
CMYKcmyk(49.6%, 78.6%, 0%, 48.6%)
CIE-LABlab(22.40, 41.62, -50.82)
CIE-LCHlch(22.40, 65.69, 309.32°)
OKLaboklab(34.98% 0.0623 -0.1458)
OKLCHoklch(34.98% 0.159 293.1)
XYZxyz(6.7576, 3.6272, 21.8124)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C83 #5D831C
analogous
#1C2983 #421C83 #751C83
triadic
#421C83 #83421C #1C8342
tetradic
#421C83 #831C29 #5D831C #1C8375
square
#421C83 #831C29 #5D831C #1C8375
split-complementary
#421C83 #83751C #29831C
monochromatic
#0F061E #291151 #421C83 #5B27B5 #7943D7

Accessibility & contrast

On white

12.17
#421C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#421C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C83
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C83#FFFFFF#000000##FFFFFF
##421C831.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c83;
/* rgb */ color: rgb(66, 28, 131);
/* oklch */ color: oklch(35.0% 0.159 293.1);
Tailwind
colors: {
  custom: {
    50: '#7e5da8',
    500: '#421c83',
    950: '#000000',
  },
}
SCSS
$custom: #421c83;
$custom-light: #7e5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#421c83",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 262.136,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.15855,
    "h": 293.1
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#421C83
secondary
#8CB645
accent
#E840AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #421C83

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

Preview Lab → · Contrast checker → · Palette generator →

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