#421F60#421F60

#421F60 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.112 H 305.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#421F60
RGBrgb(66, 31, 96)
HSLhsl(272, 51%, 25%)
HSVhsv(272, 68%, 38%)
CMYKcmyk(31.3%, 67.7%, 0%, 62.4%)
CIE-LABlab(19.97, 30.36, -32.20)
CIE-LCHlch(19.97, 44.25, 313.32°)
OKLaboklab(32.33% 0.0657 -0.0911)
OKLCHoklch(32.33% 0.112 305.8)
XYZxyz(4.8476, 2.9828, 11.3844)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F60 #3D601F
analogous
#221F60 #421F60 #601F5D
triadic
#421F60 #60421F #1F6042
tetradic
#421F60 #60221F #3D601F #1F5D60
square
#421F60 #60221F #3D601F #1F5D60
split-complementary
#421F60 #5D601F #1F6022
monochromatic
#100717 #221032 #421F60 #622E8E #823DBD

Accessibility & contrast

On white

13.15
#421F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F60
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F60#FFFFFF#000000##FFFFFF
##421F601.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#10305F
Tritanopia (blue-blind)
#3D2D3C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421f60;
/* rgb */ color: rgb(66, 31, 96);
/* oklch */ color: oklch(32.3% 0.112 305.8);
Tailwind
colors: {
  custom: {
    50: '#795d8e',
    500: '#421f60',
    950: '#000000',
  },
}
SCSS
$custom: #421f60;
$custom-light: #795d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#421f60",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 272.308,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.11236,
    "h": 305.8
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#421F60
secondary
#6A9546
accent
#DB4D8E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421F60

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

Preview Lab → · Contrast checker → · Palette generator →

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