#421481#421481

#421481 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.164 H 294.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#421481
RGBrgb(66, 20, 129)
HSLhsl(265, 73%, 29%)
HSVhsv(265, 84%, 51%)
CMYKcmyk(48.8%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.99, 44.58, -51.86)
CIE-LCHlch(20.99, 68.39, 310.68°)
OKLaboklab(33.95% 0.0691 -0.1488)
OKLCHoklch(33.95% 0.164 294.9)
XYZxyz(6.4583, 3.2434, 21.0504)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421481 #538114
analogous
#141D81 #421481 #791481
triadic
#421481 #814214 #148142
tetradic
#421481 #81141D #538114 #148179
square
#421481 #81141D #538114 #148179
split-complementary
#421481 #817914 #1D8114
monochromatic
#0E041A #270C4C #421481 #5D1CB6 #7A30DF

Accessibility & contrast

On white

12.74
#421481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421481
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421481#FFFFFF#000000##FFFFFF
##4214811.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#2F344C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421481;
/* rgb */ color: rgb(66, 20, 129);
/* oklch */ color: oklch(33.9% 0.164 294.9);
Tailwind
colors: {
  custom: {
    50: '#7e59a7',
    500: '#421481',
    950: '#000000',
  },
}
SCSS
$custom: #421481;
$custom-light: #7e59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#421481",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 265.321,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33945,
    "c": 0.16407,
    "h": 294.9
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#421481
secondary
#82B63B
accent
#F038A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421481

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

Preview Lab → · Contrast checker → · Palette generator →

#421481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva