#421C68#421C68

#421C68 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.127 H 302.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#421C68
RGBrgb(66, 28, 104)
HSLhsl(270, 58%, 26%)
HSVhsv(270, 73%, 41%)
CMYKcmyk(36.5%, 73.1%, 0%, 59.2%)
CIE-LABlab(20.00, 34.17, -37.42)
CIE-LCHlch(20.00, 50.67, 312.40°)
OKLaboklab(32.54% 0.0686 -0.1065)
OKLCHoklch(32.54% 0.127 302.8)
XYZxyz(5.1601, 2.9882, 13.3990)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421C68 #42681C
analogous
#1C1C68 #421C68 #681C68
triadic
#421C68 #68421C #1C6842
tetradic
#421C68 #681C1C #42681C #1C6868
square
#421C68 #681C1C #42681C #1C6868
split-complementary
#421C68 #68681C #1C681C
monochromatic
#0F0618 #230F38 #421C68 #612998 #7F36C8

Accessibility & contrast

On white

13.14
#421C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421C68
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421C68#FFFFFF#000000##FFFFFF
##421C681.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421c68;
/* rgb */ color: rgb(66, 28, 104);
/* oklch */ color: oklch(32.5% 0.127 302.8);
Tailwind
colors: {
  custom: {
    50: '#7a5b94',
    500: '#421c68',
    950: '#000000',
  },
}
SCSS
$custom: #421c68;
$custom-light: #7a5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#421c68",
  "rgb": {
    "r": 66,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 270,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.12663,
    "h": 302.8
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#421C68
secondary
#709D43
accent
#E14794
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421C68

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

Preview Lab → · Contrast checker → · Palette generator →

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