#421CA8#421CA8

#421CA8 is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.8% C 0.201 H 284.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#421CA8
RGBrgb(66, 28, 168)
HSLhsl(256, 71%, 38%)
HSVhsv(256, 83%, 66%)
CMYKcmyk(60.7%, 83.3%, 0%, 34.1%)
CIE-LABlab(26.20, 51.98, -67.37)
CIE-LCHlch(26.20, 85.09, 307.65°)
OKLaboklab(38.76% 0.05 -0.1942)
OKLCHoklch(38.76% 0.201 284.4)
XYZxyz(9.7277, 4.8153, 37.4550)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421CA8 #82A81C
analogous
#1C3CA8 #421CA8 #881CA8
triadic
#421CA8 #A8421C #1CA842
tetradic
#421CA8 #A81C3C #82A81C #1CA888
square
#421CA8 #A81C3C #82A81C #1CA888
split-complementary
#421CA8 #A8881C #3CA81C
monochromatic
#190B3F #2D1374 #421CA8 #5726DB #805BE4

Accessibility & contrast

On white

10.70
#421CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#421CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421CA8
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421CA8#FFFFFF#000000##FFFFFF
##421CA81.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #421ca8;
/* rgb */ color: rgb(66, 28, 168);
/* oklch */ color: oklch(38.8% 0.201 284.4);
Tailwind
colors: {
  custom: {
    50: '#845fc3',
    500: '#421ca8',
    950: '#000000',
  },
}
SCSS
$custom: #421ca8;
$custom-light: #845fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#421ca8",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 256.286,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.20053,
    "h": 284.4
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#421CA8
secondary
#A9C758
accent
#EE3ABD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #421CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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