#421A68#421A68

#421A68 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.129 H 303.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#421A68
RGBrgb(66, 26, 104)
HSLhsl(271, 60%, 25%)
HSVhsv(271, 75%, 41%)
CMYKcmyk(36.5%, 75%, 0%, 59.2%)
CIE-LABlab(19.62, 35.21, -38.02)
CIE-LCHlch(19.62, 51.82, 312.80°)
OKLaboklab(32.28% 0.0709 -0.1082)
OKLCHoklch(32.28% 0.129 303.2)
XYZxyz(5.1143, 2.8965, 13.3837)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421A68 #40681A
analogous
#1B1A68 #421A68 #681A67
triadic
#421A68 #68421A #1A6842
tetradic
#421A68 #681B1A #40681A #1A6768
square
#421A68 #681B1A #40681A #1A6768
split-complementary
#421A68 #67681A #1A681B
monochromatic
#100618 #230E37 #421A68 #612699 #8032CA

Accessibility & contrast

On white

13.30
#421A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#421A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421A68
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421A68#FFFFFF#000000##FFFFFF
##421A681.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#3A2D3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421a68;
/* rgb */ color: rgb(66, 26, 104);
/* oklch */ color: oklch(32.3% 0.129 303.2);
Tailwind
colors: {
  custom: {
    50: '#7a5a94',
    500: '#421a68',
    950: '#000000',
  },
}
SCSS
$custom: #421a68;
$custom-light: #7a5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#421a68",
  "rgb": {
    "r": 66,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 270.769,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32275,
    "c": 0.12935,
    "h": 303.2
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#421A68
secondary
#6E9D40
accent
#E34592
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421A68

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

Preview Lab → · Contrast checker → · Palette generator →

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