#421F6D#421F6D

#421F6D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.129 H 300.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#421F6D
RGBrgb(66, 31, 109)
HSLhsl(267, 56%, 27%)
HSVhsv(267, 72%, 43%)
CMYKcmyk(39.4%, 71.6%, 0%, 57.3%)
CIE-LABlab(20.99, 33.92, -39.06)
CIE-LCHlch(20.99, 51.73, 310.97°)
OKLaboklab(33.38% 0.0643 -0.1113)
OKLCHoklch(33.38% 0.129 300)
XYZxyz(5.4964, 3.2423, 14.8013)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F6D #4A6D1F
analogous
#1F236D #421F6D #691F6D
triadic
#421F6D #6D421F #1F6D42
tetradic
#421F6D #6D1F23 #4A6D1F #1F6D69
square
#421F6D #6D1F23 #4A6D1F #1F6D69
split-complementary
#421F6D #6D691F #236D1F
monochromatic
#0E0718 #25113D #421F6D #5F2D9D #7C3EC8

Accessibility & contrast

On white

12.74
#421F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#421F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F6D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F6D#FFFFFF#000000##FFFFFF
##421F6D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#383143
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421f6d;
/* rgb */ color: rgb(66, 31, 109);
/* oklch */ color: oklch(33.4% 0.129 300.0);
Tailwind
colors: {
  custom: {
    50: '#7a5d97',
    500: '#421f6d',
    950: '#000000',
  },
}
SCSS
$custom: #421f6d;
$custom-light: #7a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#421f6d",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 266.923,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.12853,
    "h": 300
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#421F6D
secondary
#79A147
accent
#DF499C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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