#421F62#421F62

#421F62 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.5% C 0.115 H 304.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#421F62
RGBrgb(66, 31, 98)
HSLhsl(271, 52%, 25%)
HSVhsv(271, 68%, 38%)
CMYKcmyk(32.7%, 68.4%, 0%, 61.6%)
CIE-LABlab(20.12, 30.90, -33.27)
CIE-LCHlch(20.12, 45.41, 312.88°)
OKLaboklab(32.48% 0.0656 -0.0943)
OKLCHoklch(32.48% 0.115 304.8)
XYZxyz(4.9409, 3.0201, 11.8755)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F62 #3F621F
analogous
#201F62 #421F62 #621F60
triadic
#421F62 #62421F #1F6242
tetradic
#421F62 #62201F #3F621F #1F6062
square
#421F62 #62201F #3F621F #1F6062
split-complementary
#421F62 #60621F #1F6220
monochromatic
#100717 #231034 #421F62 #612E90 #813CBF

Accessibility & contrast

On white

13.09
#421F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F62
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F62#FFFFFF#000000##FFFFFF
##421F621.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#3C2D3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421f62;
/* rgb */ color: rgb(66, 31, 98);
/* oklch */ color: oklch(32.5% 0.115 304.8);
Tailwind
colors: {
  custom: {
    50: '#795d8f',
    500: '#421f62',
    950: '#000000',
  },
}
SCSS
$custom: #421f62;
$custom-light: #795d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#421f62",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 271.343,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.11486,
    "h": 304.8
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#421F62
secondary
#6D9746
accent
#DB4C91
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F62

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

Preview Lab → · Contrast checker → · Palette generator →

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