#421C62#421C62

#421C62 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.119 H 305.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#421C62
RGBrgb(66, 28, 98)
HSLhsl(273, 56%, 25%)
HSVhsv(273, 71%, 38%)
CMYKcmyk(32.7%, 71.4%, 0%, 61.6%)
CIE-LABlab(19.52, 32.56, -34.25)
CIE-LCHlch(19.52, 47.26, 313.55°)
OKLaboklab(32.05% 0.0694 -0.0972)
OKLCHoklch(32.05% 0.119 305.5)
XYZxyz(4.8661, 2.8706, 11.8506)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C62 #3C621C
analogous
#1F1C62 #421C62 #621C5F
triadic
#421C62 #62421C #1C6242
tetradic
#421C62 #621F1C #3C621C #1C5F62
square
#421C62 #621F1C #3C621C #1C5F62
split-complementary
#421C62 #5F621C #1C621F
monochromatic
#100718 #220E32 #421C62 #622A92 #8237C1

Accessibility & contrast

On white

13.34
#421C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421C62
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C62#FFFFFF#000000##FFFFFF
##421C621.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E64
Deuteranopia (green-blind)
#072F60
Tritanopia (blue-blind)
#3C2B3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421c62;
/* rgb */ color: rgb(66, 28, 98);
/* oklch */ color: oklch(32.0% 0.119 305.5);
Tailwind
colors: {
  custom: {
    50: '#7a5b8f',
    500: '#421c62',
    950: '#000000',
  },
}
SCSS
$custom: #421c62;
$custom-light: #7a5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421c62",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 272.571,
    "s": 55.556,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32047,
    "c": 0.11941,
    "h": 305.5
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#421C62
secondary
#699743
accent
#DF498D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421C62

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

Preview Lab → · Contrast checker → · Palette generator →

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