#412D5F#412D5F

#412D5F is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.6% C 0.087 H 300.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#412D5F
RGBrgb(65, 45, 95)
HSLhsl(264, 36%, 27%)
HSVhsv(264, 53%, 37%)
CMYKcmyk(31.6%, 52.6%, 0%, 62.7%)
CIE-LABlab(23.09, 21.12, -26.56)
CIE-LCHlch(23.09, 33.93, 308.49°)
OKLaboklab(34.57% 0.0438 -0.0747)
OKLCHoklch(34.57% 0.087 300.4)
XYZxyz(5.1834, 3.8268, 11.2898)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D5F #4B5F2D
analogous
#2D325F #412D5F #5A2D5F
triadic
#412D5F #5F412D #2D5F41
tetradic
#412D5F #5F2D32 #4B5F2D #2D5F5A
square
#412D5F #5F2D32 #4B5F2D #2D5F5A
split-complementary
#412D5F #5F5A2D #325F2D
monochromatic
#0E0A15 #251935 #412D5F #5D4189 #7A57AF

Accessibility & contrast

On white

11.90
#412D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D5F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D5F#FFFFFF#000000##FFFFFF
##412D5F1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#22375E
Tritanopia (blue-blind)
#3B3641
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412d5f;
/* rgb */ color: rgb(65, 45, 95);
/* oklch */ color: oklch(34.6% 0.087 300.4);
Tailwind
colors: {
  custom: {
    50: '#77668d',
    500: '#412d5f',
    950: '#000000',
  },
}
SCSS
$custom: #412d5f;
$custom-light: #77668d;
$custom-dark: #000000;
JSON
{
  "hex": "#412d5f",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 264,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34567,
    "c": 0.0866,
    "h": 300.4
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#412D5F
secondary
#7A9157
accent
#CC5C9F
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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