#421D65#421D65

#421D65 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.122 H 303.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#421D65
RGBrgb(66, 29, 101)
HSLhsl(271, 55%, 25%)
HSVhsv(271, 71%, 40%)
CMYKcmyk(34.7%, 71.3%, 0%, 60.4%)
CIE-LABlab(19.95, 32.82, -35.53)
CIE-LCHlch(19.95, 48.37, 312.73°)
OKLaboklab(32.43% 0.0678 -0.1009)
OKLCHoklch(32.43% 0.122 303.9)
XYZxyz(5.0346, 2.9766, 12.6187)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D65 #40651D
analogous
#1E1D65 #421D65 #651D64
triadic
#421D65 #65421D #1D6542
tetradic
#421D65 #651E1D #40651D #1D6465
square
#421D65 #651E1D #40651D #1D6465
split-complementary
#421D65 #64651D #1D651E
monochromatic
#100718 #230F35 #421D65 #612B95 #8038C4

Accessibility & contrast

On white

13.16
#421D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421D65
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D65#FFFFFF#000000##FFFFFF
##421D651.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#033063
Tritanopia (blue-blind)
#3B2D3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421d65;
/* rgb */ color: rgb(66, 29, 101);
/* oklch */ color: oklch(32.4% 0.122 303.9);
Tailwind
colors: {
  custom: {
    50: '#7a5c91',
    500: '#421d65',
    950: '#000000',
  },
}
SCSS
$custom: #421d65;
$custom-light: #7a5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#421d65",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 270.833,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32431,
    "c": 0.12157,
    "h": 303.9
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#421D65
secondary
#6E9A44
accent
#DF4992
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421D65

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

Preview Lab → · Contrast checker → · Palette generator →

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