#421D6E#421D6E

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

Color values

HEX#421D6E
RGBrgb(66, 29, 110)
HSLhsl(267, 58%, 27%)
HSVhsv(267, 74%, 43%)
CMYKcmyk(40%, 73.6%, 0%, 56.9%)
CIE-LABlab(20.68, 35.27, -40.20)
CIE-LCHlch(20.68, 53.48, 311.26°)
OKLaboklab(33.19% 0.0664 -0.1147)
OKLCHoklch(33.19% 0.132 300.1)
XYZxyz(5.4999, 3.1627, 15.0695)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421D6E #496E1D
analogous
#1D216E #421D6E #6A1D6E
triadic
#421D6E #6E421D #1D6E42
tetradic
#421D6E #6E1D21 #496E1D #1D6E6A
square
#421D6E #6E1D21 #496E1D #1D6E6A
split-complementary
#421D6E #6E6A1D #216E1D
monochromatic
#0F0618 #25103E #421D6E #5F2A9E #7C3ACB

Accessibility & contrast

On white

12.86
#421D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#421D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421D6E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421D6E#FFFFFF#000000##FFFFFF
##421D6E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#383143
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421d6e;
/* rgb */ color: rgb(66, 29, 110);
/* oklch */ color: oklch(33.2% 0.132 300.1);
Tailwind
colors: {
  custom: {
    50: '#7b5c98',
    500: '#421d6e',
    950: '#000000',
  },
}
SCSS
$custom: #421d6e;
$custom-light: #7b5c98;
$custom-dark: #000000;
JSON
{
  "hex": "#421d6e",
  "rgb": {
    "r": 66,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 267.407,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.13249,
    "h": 300.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#421D6E
secondary
#77A244
accent
#E1469B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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