#412D5C#412D5C

#412D5C is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.4% C 0.082 H 301.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#412D5C
RGBrgb(65, 45, 92)
HSLhsl(266, 34%, 27%)
HSVhsv(266, 51%, 36%)
CMYKcmyk(29.3%, 51.1%, 0%, 63.9%)
CIE-LABlab(22.91, 20.26, -24.88)
CIE-LCHlch(22.91, 32.09, 309.16°)
OKLaboklab(34.37% 0.0434 -0.0698)
OKLCHoklch(34.37% 0.082 301.9)
XYZxyz(5.0497, 3.7733, 10.5854)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D5C #485C2D
analogous
#2D315C #412D5C #592D5C
triadic
#412D5C #5C412D #2D5C41
tetradic
#412D5C #5C2D31 #485C2D #2D5C59
square
#412D5C #5C2D31 #485C2D #2D5C59
split-complementary
#412D5C #5C592D #315C2D
monochromatic
#0F0A15 #241933 #412D5C #5E4185 #7B57AD

Accessibility & contrast

On white

11.97
#412D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D5C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D5C#FFFFFF#000000##FFFFFF
##412D5C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F365E
Deuteranopia (green-blind)
#24365B
Tritanopia (blue-blind)
#3C3540
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412d5c;
/* rgb */ color: rgb(65, 45, 92);
/* oklch */ color: oklch(34.4% 0.082 301.9);
Tailwind
colors: {
  custom: {
    50: '#77668a',
    500: '#412d5c',
    950: '#000000',
  },
}
SCSS
$custom: #412d5c;
$custom-light: #77668a;
$custom-dark: #000000;
JSON
{
  "hex": "#412d5c",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 265.532,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34371,
    "c": 0.0822,
    "h": 301.9
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#412D5C
secondary
#768E57
accent
#CA5D9C
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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