#412D57#412D57

#412D57 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.1% C 0.075 H 304.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#412D57
RGBrgb(65, 45, 87)
HSLhsl(269, 32%, 26%)
HSVhsv(269, 48%, 34%)
CMYKcmyk(25.3%, 48.3%, 0%, 65.9%)
CIE-LABlab(22.61, 18.86, -22.04)
CIE-LCHlch(22.61, 29.01, 310.56°)
OKLaboklab(34.06% 0.0426 -0.0615)
OKLCHoklch(34.06% 0.075 304.7)
XYZxyz(4.8383, 3.6887, 9.4721)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D57 #43572D
analogous
#2D2E57 #412D57 #562D57
triadic
#412D57 #57412D #2D5741
tetradic
#412D57 #572D2E #43572D #2D5756
square
#412D57 #572D2E #43572D #2D5756
split-complementary
#412D57 #57562D #2E572D
monochromatic
#0F0A14 #23182F #412D57 #5F427F #7D57A8

Accessibility & contrast

On white

12.08
#412D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D57
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D57#FFFFFF#000000##FFFFFF
##412D571.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223559
Deuteranopia (green-blind)
#273656
Tritanopia (blue-blind)
#3D343D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412d57;
/* rgb */ color: rgb(65, 45, 87);
/* oklch */ color: oklch(34.1% 0.075 304.7);
Tailwind
colors: {
  custom: {
    50: '#776686',
    500: '#412d57',
    950: '#000000',
  },
}
SCSS
$custom: #412d57;
$custom-light: #776686;
$custom-dark: #000000;
JSON
{
  "hex": "#412d57",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 268.571,
    "s": 31.818,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.07485,
    "h": 304.7
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#412D57
secondary
#718957
accent
#C86096
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#09060B
muted
#7B7A7C

Preview Lab

Preview with #412D57

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

Preview Lab → · Contrast checker → · Palette generator →

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