#421E65#421E65

#421E65 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.120 H 303.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#421E65
RGBrgb(66, 30, 101)
HSLhsl(270, 54%, 26%)
HSVhsv(270, 70%, 40%)
CMYKcmyk(34.7%, 70.3%, 0%, 60.4%)
CIE-LABlab(20.15, 32.27, -35.20)
CIE-LCHlch(20.15, 47.76, 312.51°)
OKLaboklab(32.57% 0.0666 -0.1)
OKLCHoklch(32.57% 0.12 303.7)
XYZxyz(5.0595, 3.0264, 12.6270)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421E65 #41651E
analogous
#1F1E65 #421E65 #651E64
triadic
#421E65 #65421E #1E6542
tetradic
#421E65 #651F1E #41651E #1E6465
square
#421E65 #651F1E #41651E #1E6465
split-complementary
#421E65 #64651E #1E651F
monochromatic
#0F0718 #231036 #421E65 #612C94 #803AC3

Accessibility & contrast

On white

13.08
#421E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421E65
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421E65#FFFFFF#000000##FFFFFF
##421E651.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421e65;
/* rgb */ color: rgb(66, 30, 101);
/* oklch */ color: oklch(32.6% 0.120 303.7);
Tailwind
colors: {
  custom: {
    50: '#7a5c91',
    500: '#421e65',
    950: '#000000',
  },
}
SCSS
$custom: #421e65;
$custom-light: #7a5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#421e65",
  "rgb": {
    "r": 66,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 270.423,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.1201,
    "h": 303.7
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#421E65
secondary
#6F9A45
accent
#DE4A93
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #421E65

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

Preview Lab → · Contrast checker → · Palette generator →

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