#421DA0#421DA0

#421DA0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.191 H 285.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#421DA0
RGBrgb(66, 29, 160)
HSLhsl(257, 69%, 37%)
HSVhsv(257, 82%, 63%)
CMYKcmyk(58.8%, 81.9%, 0%, 37.3%)
CIE-LABlab(25.49, 49.32, -63.70)
CIE-LCHlch(25.49, 80.57, 307.75°)
OKLaboklab(38.01% 0.0522 -0.1835)
OKLCHoklch(38.01% 0.191 285.9)
XYZxyz(9.0294, 4.5745, 33.6581)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421DA0 #7BA01D
analogous
#1D39A0 #421DA0 #841DA0
triadic
#421DA0 #A0421D #1DA042
tetradic
#421DA0 #A01D39 #7BA01D #1DA084
square
#421DA0 #A01D39 #7BA01D #1DA084
split-complementary
#421DA0 #A0841D #39A01D
monochromatic
#170A38 #2D146C #421DA0 #5726D4 #7E57E1

Accessibility & contrast

On white

10.97
#421DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#421DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421DA0
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421DA0#FFFFFF#000000##FFFFFF
##421DA01.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#0F455F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #421da0;
/* rgb */ color: rgb(66, 29, 160);
/* oklch */ color: oklch(38.0% 0.191 285.9);
Tailwind
colors: {
  custom: {
    50: '#825fbd',
    500: '#421da0',
    950: '#000000',
  },
}
SCSS
$custom: #421da0;
$custom-light: #825fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#421da0",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 256.947,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38013,
    "c": 0.1908,
    "h": 285.9
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#421DA0
secondary
#A5C455
accent
#EC3CBA
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #421DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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