#421148#421148

#421148 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.107 H 323.2°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#421148
RGBrgb(66, 17, 72)
HSLhsl(293, 62%, 17%)
HSVhsv(293, 76%, 28%)
CMYKcmyk(8.3%, 76.4%, 0%, 71.8%)
CIE-LABlab(15.63, 31.84, -22.95)
CIE-LCHlch(15.63, 39.25, 324.22°)
OKLaboklab(28.65% 0.0854 -0.064)
OKLCHoklch(28.65% 0.107 323.2)
XYZxyz(3.6168, 2.0272, 6.3304)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421148 #174811
analogous
#271148 #421148 #481132
triadic
#421148 #484211 #114842
tetradic
#421148 #482711 #174811 #113248
square
#421148 #482711 #174811 #113248
split-complementary
#421148 #324811 #114827
monochromatic
#170619 #170619 #421148 #6F1D7A #9D28AB

Accessibility & contrast

On white

14.94
#421148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#421148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421148
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421148#FFFFFF#000000##FFFFFF
##4211481.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03234A
Deuteranopia (green-blind)
#1A2947
Tritanopia (blue-blind)
#431A2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #421148;
/* rgb */ color: rgb(66, 17, 72);
/* oklch */ color: oklch(28.6% 0.107 323.2);
Tailwind
colors: {
  custom: {
    50: '#79547b',
    500: '#421148',
    950: '#000000',
  },
}
SCSS
$custom: #421148;
$custom-light: #79547b;
$custom-dark: #000000;
JSON
{
  "hex": "#421148",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 293.455,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28648,
    "c": 0.10667,
    "h": 323.2
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#421148
secondary
#3C8233
accent
#E54355
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #421148

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

Preview Lab → · Contrast checker → · Palette generator →

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