#421373#421373

#421373 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.150 H 299.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#421373
RGBrgb(66, 19, 115)
HSLhsl(269, 72%, 26%)
HSVhsv(269, 83%, 45%)
CMYKcmyk(42.6%, 83.5%, 0%, 54.9%)
CIE-LABlab(19.48, 41.31, -45.40)
CIE-LCHlch(19.48, 61.38, 312.30°)
OKLaboklab(32.48% 0.0747 -0.1298)
OKLCHoklch(32.48% 0.15 299.9)
XYZxyz(5.5734, 2.8617, 16.4751)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421373 #447313
analogous
#131473 #421373 #721373
triadic
#421373 #734213 #137342
tetradic
#421373 #731314 #447313 #137372
square
#421373 #731314 #447313 #137372
split-complementary
#421373 #737213 #147313
monochromatic
#0F041A #240A3E #421373 #601CA8 #7E25DB

Accessibility & contrast

On white

13.36
#421373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421373
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421373#FFFFFF#000000##FFFFFF
##4213731.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#362E43
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421373;
/* rgb */ color: rgb(66, 19, 115);
/* oklch */ color: oklch(32.5% 0.150 299.9);
Tailwind
colors: {
  custom: {
    50: '#7c579c',
    500: '#421373',
    950: '#000000',
  },
}
SCSS
$custom: #421373;
$custom-light: #7c579c;
$custom-dark: #000000;
JSON
{
  "hex": "#421373",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 269.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32479,
    "c": 0.14982,
    "h": 299.9
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#421373
secondary
#72AA38
accent
#EE3996
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #421373

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

Preview Lab → · Contrast checker → · Palette generator →

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