#421381#421381

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

Color values

HEX#421381
RGBrgb(66, 19, 129)
HSLhsl(266, 74%, 29%)
HSVhsv(266, 85%, 51%)
CMYKcmyk(48.8%, 85.3%, 0%, 49.4%)
CIE-LABlab(20.86, 44.96, -52.08)
CIE-LCHlch(20.86, 68.81, 310.81°)
OKLaboklab(33.85% 0.0698 -0.1494)
OKLCHoklch(33.85% 0.165 295)
XYZxyz(6.4410, 3.2088, 21.0446)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421381 #528113
analogous
#131B81 #421381 #791381
triadic
#421381 #814213 #138142
tetradic
#421381 #81131B #528113 #138179
square
#421381 #81131B #528113 #138179
split-complementary
#421381 #817913 #1B8113
monochromatic
#0E041B #270B4C #421381 #5D1BB6 #7A2EE0

Accessibility & contrast

On white

12.79
#421381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421381
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421381#FFFFFF#000000##FFFFFF
##4213811.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421381;
/* rgb */ color: rgb(66, 19, 129);
/* oklch */ color: oklch(33.9% 0.165 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e58a7',
    500: '#421381',
    950: '#000000',
  },
}
SCSS
$custom: #421381;
$custom-light: #7e58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#421381",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 265.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.16492,
    "h": 295
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#421381
secondary
#81B63A
accent
#F137A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #421381

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

Preview Lab → · Contrast checker → · Palette generator →

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