#412142#412142

#412142 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.5% C 0.071 H 326.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#412142
RGBrgb(65, 33, 66)
HSLhsl(298, 33%, 19%)
HSVhsv(298, 50%, 26%)
CMYKcmyk(1.5%, 50%, 0%, 74.1%)
CIE-LABlab(18.39, 21.34, -14.47)
CIE-LCHlch(18.39, 25.78, 325.87°)
OKLaboklab(30.52% 0.0588 -0.0396)
OKLCHoklch(30.52% 0.071 326)
XYZxyz(3.7071, 2.6051, 5.4608)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412142 #224221
analogous
#312142 #412142 #422133
triadic
#412142 #424121 #214241
tetradic
#412142 #423121 #224221 #213342
square
#412142 #423121 #224221 #213342
split-complementary
#412142 #334221 #214231
monochromatic
#140A14 #190D19 #412142 #69356B #914A94

Accessibility & contrast

On white

13.81
#412142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#412142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412142
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412142#FFFFFF#000000##FFFFFF
##4121421.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#272E41
Tritanopia (blue-blind)
#43242E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #412142;
/* rgb */ color: rgb(65, 33, 66);
/* oklch */ color: oklch(30.5% 0.071 326.0);
Tailwind
colors: {
  custom: {
    50: '#765d76',
    500: '#412142',
    950: '#000000',
  },
}
SCSS
$custom: #412142;
$custom-light: #765d76;
$custom-dark: #000000;
JSON
{
  "hex": "#412142",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 298.182,
    "s": 33.333,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.07094,
    "h": 326
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#412142
secondary
#4A7649
accent
#C95E62
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080408
muted
#7B797B

Preview Lab

Preview with #412142

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

Preview Lab → · Contrast checker → · Palette generator →

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