#421F6B#421F6B

#421F6B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.126 H 300.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#421F6B
RGBrgb(66, 31, 107)
HSLhsl(268, 55%, 27%)
HSVhsv(268, 71%, 42%)
CMYKcmyk(38.3%, 71%, 0%, 58%)
CIE-LABlab(20.83, 33.36, -38.03)
CIE-LCHlch(20.83, 50.59, 311.26°)
OKLaboklab(33.21% 0.0646 -0.1083)
OKLCHoklch(33.21% 0.126 300.8)
XYZxyz(5.3900, 3.1997, 14.2407)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F6B #486B1F
analogous
#1F226B #421F6B #681F6B
triadic
#421F6B #6B421F #1F6B42
tetradic
#421F6B #6B1F22 #486B1F #1F6B68
square
#421F6B #6B1F22 #486B1F #1F6B68
split-complementary
#421F6B #6B681F #226B1F
monochromatic
#0F0718 #25113C #421F6B #5F2D9A #7D3DC7

Accessibility & contrast

On white

12.80
#421F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F6B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F6B#FFFFFF#000000##FFFFFF
##421F6B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#393142
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421f6b;
/* rgb */ color: rgb(66, 31, 107);
/* oklch */ color: oklch(33.2% 0.126 300.8);
Tailwind
colors: {
  custom: {
    50: '#7a5d96',
    500: '#421f6b',
    950: '#000000',
  },
}
SCSS
$custom: #421f6b;
$custom-light: #7a5d96;
$custom-dark: #000000;
JSON
{
  "hex": "#421f6b",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 267.632,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33211,
    "c": 0.12606,
    "h": 300.8
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#421F6B
secondary
#769F47
accent
#DE499A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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