#421F45#421F45

#421F45 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.5% C 0.079 H 324.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#421F45
RGBrgb(66, 31, 69)
HSLhsl(295, 38%, 20%)
HSVhsv(295, 55%, 27%)
CMYKcmyk(4.3%, 55.1%, 0%, 72.9%)
CIE-LABlab(18.22, 23.61, -16.78)
CIE-LCHlch(18.22, 28.97, 324.61°)
OKLaboklab(30.48% 0.0643 -0.0462)
OKLCHoklch(30.48% 0.079 324.3)
XYZxyz(3.8108, 2.5681, 5.9240)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421F45 #22451F
analogous
#2F1F45 #421F45 #451F35
triadic
#421F45 #45421F #1F4542
tetradic
#421F45 #452F1F #22451F #1F3545
square
#421F45 #452F1F #22451F #1F3545
split-complementary
#421F45 #35451F #1F452F
monochromatic
#140915 #1A0C1B #421F45 #6A326F #934599

Accessibility & contrast

On white

13.87
#421F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421F45
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421F45#FFFFFF#000000##FFFFFF
##421F451.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#252E44
Tritanopia (blue-blind)
#43242E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421f45;
/* rgb */ color: rgb(66, 31, 69);
/* oklch */ color: oklch(30.5% 0.079 324.3);
Tailwind
colors: {
  custom: {
    50: '#775c79',
    500: '#421f45',
    950: '#000000',
  },
}
SCSS
$custom: #421f45;
$custom-light: #775c79;
$custom-dark: #000000;
JSON
{
  "hex": "#421f45",
  "rgb": {
    "r": 66,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 295.263,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30481,
    "c": 0.07918,
    "h": 324.3
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#421F45
secondary
#4A7946
accent
#CE5A63
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090409
muted
#7B797B

Preview Lab

Preview with #421F45

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

Preview Lab → · Contrast checker → · Palette generator →

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