#421D74#421D74

#421D74 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.140 H 297.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#421D74
RGBrgb(66, 29, 116)
HSLhsl(266, 60%, 28%)
HSVhsv(266, 75%, 45%)
CMYKcmyk(43.1%, 75%, 0%, 54.5%)
CIE-LABlab(21.20, 36.93, -43.24)
CIE-LCHlch(21.20, 56.86, 310.50°)
OKLaboklab(33.71% 0.0652 -0.1236)
OKLCHoklch(33.71% 0.14 297.8)
XYZxyz(5.8377, 3.2978, 16.8486)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D74 #4F741D
analogous
#1D2374 #421D74 #6D1D74
triadic
#421D74 #74421D #1D7442
tetradic
#421D74 #741D23 #4F741D #1D746D
square
#421D74 #741D23 #4F741D #1D746D
split-complementary
#421D74 #746D1D #23741D
monochromatic
#0E0618 #261143 #421D74 #5E29A5 #7B3DCE

Accessibility & contrast

On white

12.65
#421D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#421D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D74
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D74#FFFFFF#000000##FFFFFF
##421D741.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#353346
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #421d74;
/* rgb */ color: rgb(66, 29, 116);
/* oklch */ color: oklch(33.7% 0.140 297.8);
Tailwind
colors: {
  custom: {
    50: '#7c5d9d',
    500: '#421d74',
    950: '#000000',
  },
}
SCSS
$custom: #421d74;
$custom-light: #7c5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#421d74",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 265.517,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.1397,
    "h": 297.8
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#421D74
secondary
#7EA845
accent
#E345A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D74

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

Preview Lab → · Contrast checker → · Palette generator →

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