#421B61#421B61

#421B61 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.120 H 306.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#421B61
RGBrgb(66, 27, 97)
HSLhsl(273, 56%, 24%)
HSVhsv(273, 72%, 38%)
CMYKcmyk(32%, 72.2%, 0%, 62%)
CIE-LABlab(19.25, 32.84, -34.03)
CIE-LCHlch(19.25, 47.29, 313.98°)
OKLaboklab(31.83% 0.0708 -0.0965)
OKLCHoklch(31.83% 0.12 306.3)
XYZxyz(4.7959, 2.8052, 11.5958)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421B61 #3A611B
analogous
#1F1B61 #421B61 #611B5D
triadic
#421B61 #61421B #1B6142
tetradic
#421B61 #611F1B #3A611B #1B5D61
square
#421B61 #611F1B #3A611B #1B5D61
split-complementary
#421B61 #5D611B #1B611F
monochromatic
#100718 #210E31 #421B61 #632891 #8336C1

Accessibility & contrast

On white

13.45
#421B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421B61
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421B61#FFFFFF#000000##FFFFFF
##421B611.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#072F5F
Tritanopia (blue-blind)
#3D2A3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421b61;
/* rgb */ color: rgb(66, 27, 97);
/* oklch */ color: oklch(31.8% 0.120 306.3);
Tailwind
colors: {
  custom: {
    50: '#7a5b8e',
    500: '#421b61',
    950: '#000000',
  },
}
SCSS
$custom: #421b61;
$custom-light: #7a5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#421b61",
  "rgb": {
    "r": 66,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 273.429,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31827,
    "c": 0.11967,
    "h": 306.3
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#421B61
secondary
#679741
accent
#E0488B
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421B61

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

Preview Lab → · Contrast checker → · Palette generator →

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