#412D4E#412D4E

#412D4E is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.5% C 0.062 H 311.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#412D4E
RGBrgb(65, 45, 78)
HSLhsl(276, 27%, 24%)
HSVhsv(276, 42%, 31%)
CMYKcmyk(16.7%, 42.3%, 0%, 69.4%)
CIE-LABlab(22.13, 16.45, -16.81)
CIE-LCHlch(22.13, 23.52, 314.39°)
OKLaboklab(33.53% 0.0407 -0.0464)
OKLCHoklch(33.53% 0.062 311.2)
XYZxyz(4.4933, 3.5507, 7.6549)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D4E #3A4E2D
analogous
#312D4E #412D4E #4E2D4B
triadic
#412D4E #4E412D #2D4E41
tetradic
#412D4E #4E312D #3A4E2D #2D4B4E
square
#412D4E #4E312D #3A4E2D #2D4B4E
split-complementary
#412D4E #4B4E2D #2D4E31
monochromatic
#100B13 #211727 #412D4E #614375 #825A9C

Accessibility & contrast

On white

12.28
#412D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#412D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D4E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D4E#FFFFFF#000000##FFFFFF
##412D4E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#403239
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412d4e;
/* rgb */ color: rgb(65, 45, 78);
/* oklch */ color: oklch(33.5% 0.062 311.2);
Tailwind
colors: {
  custom: {
    50: '#76667f',
    500: '#412d4e',
    950: '#000000',
  },
}
SCSS
$custom: #412d4e;
$custom-light: #76667f;
$custom-dark: #000000;
JSON
{
  "hex": "#412d4e",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 276.364,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33529,
    "c": 0.06171,
    "h": 311.2
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#412D4E
secondary
#678057
accent
#C3658A
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #412D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#412D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva