#421F67#421F67

#421F67 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.121 H 302.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421F67
RGBrgb(66, 31, 103)
HSLhsl(269, 54%, 26%)
HSVhsv(269, 70%, 40%)
CMYKcmyk(35.9%, 69.9%, 0%, 59.6%)
CIE-LABlab(20.51, 32.26, -35.93)
CIE-LCHlch(20.51, 48.29, 311.92°)
OKLaboklab(32.88% 0.0651 -0.1021)
OKLCHoklch(32.88% 0.121 302.5)
XYZxyz(5.1844, 3.1175, 13.1579)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F67 #44671F
analogous
#1F2067 #421F67 #661F67
triadic
#421F67 #67421F #1F6742
tetradic
#421F67 #671F20 #44671F #1F6766
square
#421F67 #671F20 #44671F #1F6766
split-complementary
#421F67 #67661F #20671F
monochromatic
#0F0718 #241138 #421F67 #602D96 #7E3CC4

Accessibility & contrast

On white

12.94
#421F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F67
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F67#FFFFFF#000000##FFFFFF
##421F671.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#033165
Tritanopia (blue-blind)
#3B2F40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421f67;
/* rgb */ color: rgb(66, 31, 103);
/* oklch */ color: oklch(32.9% 0.121 302.5);
Tailwind
colors: {
  custom: {
    50: '#7a5d93',
    500: '#421f67',
    950: '#000000',
  },
}
SCSS
$custom: #421f67;
$custom-light: #7a5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#421f67",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 269.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32882,
    "c": 0.12109,
    "h": 302.5
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#421F67
secondary
#729B46
accent
#DD4B96
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421F67

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

Preview Lab → · Contrast checker → · Palette generator →

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