#421352#421352

#421352 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.114 H 316.1°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#421352
RGBrgb(66, 19, 82)
HSLhsl(285, 62%, 20%)
HSVhsv(285, 77%, 32%)
CMYKcmyk(19.5%, 76.8%, 0%, 67.8%)
CIE-LABlab(16.67, 33.15, -28.14)
CIE-LCHlch(16.67, 43.48, 319.67°)
OKLaboklab(29.62% 0.0823 -0.0792)
OKLCHoklch(29.62% 0.114 316.1)
XYZxyz(4.0024, 2.2333, 8.2013)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421352 #235213
analogous
#231352 #421352 #521343
triadic
#421352 #524213 #135242
tetradic
#421352 #522313 #235213 #134352
square
#421352 #522313 #235213 #134352
split-complementary
#421352 #435213 #135223
monochromatic
#140619 #1A0720 #421352 #6A1F84 #922AB5

Accessibility & contrast

On white

14.52
#421352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#421352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421352
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421352#FFFFFF#000000##FFFFFF
##4213521.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#132A51
Tritanopia (blue-blind)
#412031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #421352;
/* rgb */ color: rgb(66, 19, 82);
/* oklch */ color: oklch(29.6% 0.114 316.1);
Tailwind
colors: {
  custom: {
    50: '#795683',
    500: '#421352',
    950: '#000000',
  },
}
SCSS
$custom: #421352;
$custom-light: #795683;
$custom-dark: #000000;
JSON
{
  "hex": "#421352",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 284.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29619,
    "c": 0.11419,
    "h": 316.1
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#421352
secondary
#4C8A36
accent
#E5426C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #421352

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

Preview Lab → · Contrast checker → · Palette generator →

#421352 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva