#421F65#421F65

#421F65 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.119 H 303.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#421F65
RGBrgb(66, 31, 101)
HSLhsl(270, 53%, 26%)
HSVhsv(270, 69%, 40%)
CMYKcmyk(34.7%, 69.3%, 0%, 60.4%)
CIE-LABlab(20.35, 31.71, -34.88)
CIE-LCHlch(20.35, 47.14, 312.28°)
OKLaboklab(32.72% 0.0653 -0.099)
OKLCHoklch(32.72% 0.119 303.4)
XYZxyz(5.0852, 3.0778, 12.6356)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F65 #42651F
analogous
#1F1F65 #421F65 #651F65
triadic
#421F65 #65421F #1F6542
tetradic
#421F65 #651F1F #42651F #1F6565
square
#421F65 #651F1F #42651F #1F6565
split-complementary
#421F65 #65651F #1F651F
monochromatic
#0F0717 #231136 #421F65 #612D94 #7F3CC3

Accessibility & contrast

On white

13.00
#421F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421F65
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F65#FFFFFF#000000##FFFFFF
##421F651.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#073163
Tritanopia (blue-blind)
#3B2E3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421f65;
/* rgb */ color: rgb(66, 31, 101);
/* oklch */ color: oklch(32.7% 0.119 303.4);
Tailwind
colors: {
  custom: {
    50: '#7a5d91',
    500: '#421f65',
    950: '#000000',
  },
}
SCSS
$custom: #421f65;
$custom-light: #7a5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#421f65",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.1186,
    "h": 303.4
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#421F65
secondary
#709946
accent
#DC4B94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421F65

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

Preview Lab → · Contrast checker → · Palette generator →

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