#421362#421362

#421362 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.131 H 307.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#421362
RGBrgb(66, 19, 98)
HSLhsl(276, 68%, 23%)
HSVhsv(276, 81%, 38%)
CMYKcmyk(32.7%, 80.6%, 0%, 61.6%)
CIE-LABlab(17.95, 37.00, -36.80)
CIE-LCHlch(17.95, 52.18, 315.15°)
OKLaboklab(30.93% 0.0796 -0.1046)
OKLCHoklch(30.93% 0.131 307.3)
XYZxyz(4.6838, 2.5059, 11.7898)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421362 #336213
analogous
#1A1362 #421362 #62135A
triadic
#421362 #624213 #136242
tetradic
#421362 #621A13 #336213 #135A62
square
#421362 #621A13 #336213 #135A62
split-complementary
#421362 #5A6213 #13621A
monochromatic
#11051A #1F092F #421362 #651D95 #8727C9

Accessibility & contrast

On white

13.99
#421362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421362
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421362#FFFFFF#000000##FFFFFF
##4213621.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#3D263A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421362;
/* rgb */ color: rgb(66, 19, 98);
/* oklch */ color: oklch(30.9% 0.131 307.3);
Tailwind
colors: {
  custom: {
    50: '#7a568f',
    500: '#421362',
    950: '#000000',
  },
}
SCSS
$custom: #421362;
$custom-light: #7a568f;
$custom-dark: #000000;
JSON
{
  "hex": "#421362",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 275.696,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.13142,
    "h": 307.3
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#421362
secondary
#5F9A37
accent
#EA3D83
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421362

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

Preview Lab → · Contrast checker → · Palette generator →

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