#421D68#421D68

#421D68 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.125 H 302.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#421D68
RGBrgb(66, 29, 104)
HSLhsl(270, 56%, 26%)
HSVhsv(270, 72%, 41%)
CMYKcmyk(36.5%, 72.1%, 0%, 59.2%)
CIE-LABlab(20.19, 33.63, -37.10)
CIE-LCHlch(20.19, 50.08, 312.19°)
OKLaboklab(32.68% 0.0674 -0.1055)
OKLCHoklch(32.68% 0.125 302.6)
XYZxyz(5.1842, 3.0364, 13.4070)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D68 #43681D
analogous
#1D1D68 #421D68 #671D68
triadic
#421D68 #68421D #1D6842
tetradic
#421D68 #681D1D #43681D #1D6867
square
#421D68 #681D1D #43681D #1D6867
split-complementary
#421D68 #68671D #1D681D
monochromatic
#0F0718 #241038 #421D68 #602A98 #7F38C7

Accessibility & contrast

On white

13.07
#421D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D68
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D68#FFFFFF#000000##FFFFFF
##421D681.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#3A2E40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421d68;
/* rgb */ color: rgb(66, 29, 104);
/* oklch */ color: oklch(32.7% 0.125 302.6);
Tailwind
colors: {
  custom: {
    50: '#7a5c94',
    500: '#421d68',
    950: '#000000',
  },
}
SCSS
$custom: #421d68;
$custom-light: #7a5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#421d68",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 269.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32678,
    "c": 0.12523,
    "h": 302.6
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#421D68
secondary
#719D44
accent
#E04895
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421D68

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

Preview Lab → · Contrast checker → · Palette generator →

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