#412442#412442

#412442 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.1% C 0.065 H 325.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#412442
RGBrgb(65, 36, 66)
HSLhsl(298, 29%, 20%)
HSVhsv(298, 45%, 26%)
CMYKcmyk(1.5%, 45.5%, 0%, 74.1%)
CIE-LABlab(19.14, 19.43, -13.31)
CIE-LCHlch(19.14, 23.55, 325.60°)
OKLaboklab(31.08% 0.0535 -0.0363)
OKLCHoklch(31.08% 0.065 325.8)
XYZxyz(3.7941, 2.7791, 5.4898)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412442 #254224
analogous
#322442 #412442 #422434
triadic
#412442 #424124 #244241
tetradic
#412442 #423224 #254224 #243442
square
#412442 #423224 #254224 #243442
split-complementary
#412442 #344224 #244232
monochromatic
#140B14 #1A0E1A #412442 #683A6A #8F4F91

Accessibility & contrast

On white

13.50
#412442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#412442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412442
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412442#FFFFFF#000000##FFFFFF
##4124421.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C43
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#422730
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #412442;
/* rgb */ color: rgb(65, 36, 66);
/* oklch */ color: oklch(31.1% 0.065 325.8);
Tailwind
colors: {
  custom: {
    50: '#765f76',
    500: '#412442',
    950: '#000000',
  },
}
SCSS
$custom: #412442;
$custom-light: #765f76;
$custom-dark: #000000;
JSON
{
  "hex": "#412442",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 66
  },
  "hsl": {
    "h": 298,
    "s": 29.412,
    "l": 20
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.06467,
    "h": 325.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#412442
secondary
#4E754D
accent
#C66265
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #412442

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

Preview Lab → · Contrast checker → · Palette generator →

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