#412642#412642

#412642 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.5% C 0.060 H 325.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#412642
RGBrgb(65, 38, 66)
HSLhsl(298, 27%, 20%)
HSVhsv(298, 42%, 26%)
CMYKcmyk(1.5%, 42.4%, 0%, 74.1%)
CIE-LABlab(19.65, 18.13, -12.51)
CIE-LCHlch(19.65, 22.03, 325.40°)
OKLaboklab(31.47% 0.0499 -0.0341)
OKLCHoklch(31.47% 0.06 325.6)
XYZxyz(3.8564, 2.9035, 5.5105)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412642 #274226
analogous
#332642 #412642 #422635
triadic
#412642 #424126 #264241
tetradic
#412642 #423326 #274226 #263542
square
#412642 #423326 #274226 #263542
split-complementary
#412642 #354226 #264233
monochromatic
#130B13 #1B101B #412642 #673C69 #8D5390

Accessibility & contrast

On white

13.29
#412642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#412642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412642
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412642#FFFFFF#000000##FFFFFF
##4126421.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242D43
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#422931
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412642;
/* rgb */ color: rgb(65, 38, 66);
/* oklch */ color: oklch(31.5% 0.060 325.6);
Tailwind
colors: {
  custom: {
    50: '#766176',
    500: '#412642',
    950: '#000000',
  },
}
SCSS
$custom: #412642;
$custom-light: #766176;
$custom-dark: #000000;
JSON
{
  "hex": "#412642",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 297.857,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.06042,
    "h": 325.6
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#412642
secondary
#51744F
accent
#C36568
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080508
muted
#7B797B

Preview Lab

Preview with #412642

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

Preview Lab → · Contrast checker → · Palette generator →

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