#421F68#421F68

#421F68 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.122 H 302.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#421F68
RGBrgb(66, 31, 104)
HSLhsl(269, 54%, 26%)
HSVhsv(269, 70%, 41%)
CMYKcmyk(36.5%, 70.2%, 0%, 59.2%)
CIE-LABlab(20.59, 32.53, -36.46)
CIE-LCHlch(20.59, 48.86, 311.74°)
OKLaboklab(32.96% 0.065 -0.1037)
OKLCHoklch(32.96% 0.122 302.1)
XYZxyz(5.2349, 3.1377, 13.4239)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F68 #45681F
analogous
#1F2168 #421F68 #671F68
triadic
#421F68 #68421F #1F6842
tetradic
#421F68 #681F21 #45681F #1F6867
square
#421F68 #681F21 #45681F #1F6867
split-complementary
#421F68 #68671F #21681F
monochromatic
#0F0718 #241139 #421F68 #602D97 #7E3CC5

Accessibility & contrast

On white

12.90
#421F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F68
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F68#FFFFFF#000000##FFFFFF
##421F681.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#013166
Tritanopia (blue-blind)
#3A2F40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421f68;
/* rgb */ color: rgb(66, 31, 104);
/* oklch */ color: oklch(33.0% 0.122 302.1);
Tailwind
colors: {
  custom: {
    50: '#7a5d94',
    500: '#421f68',
    950: '#000000',
  },
}
SCSS
$custom: #421f68;
$custom-light: #7a5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#421f68",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 268.767,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.12233,
    "h": 302.1
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#421F68
secondary
#739C46
accent
#DD4A97
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421F68

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

Preview Lab → · Contrast checker → · Palette generator →

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