#421CA0#421CA0

#421CA0 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.192 H 286.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#421CA0
RGBrgb(66, 28, 160)
HSLhsl(257, 70%, 37%)
HSVhsv(257, 83%, 63%)
CMYKcmyk(58.8%, 82.5%, 0%, 37.3%)
CIE-LABlab(25.34, 49.75, -63.94)
CIE-LCHlch(25.34, 81.02, 307.88°)
OKLaboklab(37.91% 0.0528 -0.1842)
OKLCHoklch(37.91% 0.192 286)
XYZxyz(9.0053, 4.5263, 33.6500)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421CA0 #7AA01C
analogous
#1C38A0 #421CA0 #841CA0
triadic
#421CA0 #A0421C #1CA042
tetradic
#421CA0 #A01C38 #7AA01C #1CA084
square
#421CA0 #A01C38 #7AA01C #1CA084
split-complementary
#421CA0 #A0841C #38A01C
monochromatic
#170A38 #2D136C #421CA0 #5725D4 #7D55E1

Accessibility & contrast

On white

11.02
#421CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#421CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421CA0
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421CA0#FFFFFF#000000##FFFFFF
##421CA01.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#0F445F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421ca0;
/* rgb */ color: rgb(66, 28, 160);
/* oklch */ color: oklch(37.9% 0.192 286.0);
Tailwind
colors: {
  custom: {
    50: '#825fbd',
    500: '#421ca0',
    950: '#000000',
  },
}
SCSS
$custom: #421ca0;
$custom-light: #825fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#421ca0",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 257.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.19162,
    "h": 286
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#421CA0
secondary
#A4C453
accent
#ED3BBA
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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