#412B59#412B59

#412B59 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.8% C 0.082 H 304.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#412B59
RGBrgb(65, 43, 89)
HSLhsl(269, 35%, 26%)
HSVhsv(269, 52%, 35%)
CMYKcmyk(27%, 51.7%, 0%, 65.1%)
CIE-LABlab(22.21, 20.73, -24.01)
CIE-LCHlch(22.21, 31.72, 310.81°)
OKLaboklab(33.79% 0.0462 -0.0672)
OKLCHoklch(33.79% 0.082 304.5)
XYZxyz(4.8466, 3.5729, 9.8836)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B59 #43592B
analogous
#2B2C59 #412B59 #582B59
triadic
#412B59 #59412B #2B5941
tetradic
#412B59 #592B2C #43592B #2B5958
square
#412B59 #592B2C #43592B #2B5958
split-complementary
#412B59 #59582B #2C592B
monochromatic
#0F0A15 #231730 #412B59 #5F3F82 #7D53AC

Accessibility & contrast

On white

12.25
#412B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412B59
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B59#FFFFFF#000000##FFFFFF
##412B591.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E345B
Deuteranopia (green-blind)
#243558
Tritanopia (blue-blind)
#3D333D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412b59;
/* rgb */ color: rgb(65, 43, 89);
/* oklch */ color: oklch(33.8% 0.082 304.5);
Tailwind
colors: {
  custom: {
    50: '#776588',
    500: '#412b59',
    950: '#000000',
  },
}
SCSS
$custom: #412b59;
$custom-light: #776588;
$custom-dark: #000000;
JSON
{
  "hex": "#412b59",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 268.696,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.08158,
    "h": 304.5
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#412B59
secondary
#718B55
accent
#CB5D96
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050B
muted
#7B7A7C

Preview Lab

Preview with #412B59

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

Preview Lab → · Contrast checker → · Palette generator →

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