#421CA5#421CA5

#421CA5 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.197 H 285.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#421CA5
RGBrgb(66, 28, 165)
HSLhsl(257, 71%, 38%)
HSVhsv(257, 83%, 65%)
CMYKcmyk(60%, 83%, 0%, 35.3%)
CIE-LABlab(25.88, 51.14, -66.10)
CIE-LCHlch(25.88, 83.57, 307.73°)
OKLaboklab(38.44% 0.0511 -0.1905)
OKLCHoklch(38.44% 0.197 285)
XYZxyz(9.4515, 4.7048, 36.0001)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421CA5 #7FA51C
analogous
#1C3BA5 #421CA5 #861CA5
triadic
#421CA5 #A5421C #1CA542
tetradic
#421CA5 #A51C3B #7FA51C #1CA586
square
#421CA5 #A51C3B #7FA51C #1CA586
split-complementary
#421CA5 #A5861C #3BA51C
monochromatic
#180A3C #2D1371 #421CA5 #5725D9 #7F59E3

Accessibility & contrast

On white

10.82
#421CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#421CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421CA5
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421CA5#FFFFFF#000000##FFFFFF
##421CA51.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#014662
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #421ca5;
/* rgb */ color: rgb(66, 28, 165);
/* oklch */ color: oklch(38.4% 0.197 285.0);
Tailwind
colors: {
  custom: {
    50: '#835fc1',
    500: '#421ca5',
    950: '#000000',
  },
}
SCSS
$custom: #421ca5;
$custom-light: #835fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#421ca5",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 256.642,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3844,
    "c": 0.1972,
    "h": 285
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#421CA5
secondary
#A7C656
accent
#EE3ABC
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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