#421850#421850

#421850 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 316.7°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#421850
RGBrgb(66, 24, 80)
HSLhsl(285, 54%, 20%)
HSVhsv(285, 70%, 31%)
CMYKcmyk(17.5%, 70%, 0%, 68.6%)
CIE-LABlab(17.42, 30.18, -25.58)
CIE-LCHlch(17.42, 39.56, 319.72°)
OKLaboklab(30.11% 0.076 -0.0717)
OKLCHoklch(30.11% 0.104 316.7)
XYZxyz(4.0212, 2.3909, 7.8375)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421850 #265018
analogous
#261850 #421850 #501842
triadic
#421850 #504218 #185042
tetradic
#421850 #502618 #265018 #184250
square
#421850 #502618 #265018 #184250
split-complementary
#421850 #425018 #185026
monochromatic
#130718 #1B0A21 #421850 #69267F #9034AE

Accessibility & contrast

On white

14.21
#421850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#421850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421850
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421850#FFFFFF#000000##FFFFFF
##4218501.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#192C4F
Tritanopia (blue-blind)
#412231
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421850;
/* rgb */ color: rgb(66, 24, 80);
/* oklch */ color: oklch(30.1% 0.104 316.7);
Tailwind
colors: {
  custom: {
    50: '#785881',
    500: '#421850',
    950: '#000000',
  },
}
SCSS
$custom: #421850;
$custom-light: #785881;
$custom-dark: #000000;
JSON
{
  "hex": "#421850",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 285,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.10447,
    "h": 316.7
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#421850
secondary
#4F873D
accent
#DD4B6F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #421850

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

Preview Lab → · Contrast checker → · Palette generator →

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