#412D6F#412D6F

#412D6F is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.110 H 294.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#412D6F
RGBrgb(65, 45, 111)
HSLhsl(258, 42%, 31%)
HSVhsv(258, 59%, 44%)
CMYKcmyk(41.4%, 59.5%, 0%, 56.5%)
CIE-LABlab(24.16, 25.86, -35.24)
CIE-LCHlch(24.16, 43.71, 306.27°)
OKLaboklab(35.7% 0.0448 -0.1001)
OKLCHoklch(35.7% 0.11 294.1)
XYZxyz(5.9868, 4.1481, 15.5211)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D6F #5B6F2D
analogous
#2D3A6F #412D6F #622D6F
triadic
#412D6F #6F412D #2D6F41
tetradic
#412D6F #6F2D3A #5B6F2D #2D6F62
square
#412D6F #6F2D3A #5B6F2D #2D6F62
split-complementary
#412D6F #6F622D #3A6F2D
monochromatic
#0E0A18 #271B43 #412D6F #5A3F9B #785ABC

Accessibility & contrast

On white

11.48
#412D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D6F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D6F#FFFFFF#000000##FFFFFF
##412D6F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A71
Deuteranopia (green-blind)
#11386E
Tritanopia (blue-blind)
#353B49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412d6f;
/* rgb */ color: rgb(65, 45, 111);
/* oklch */ color: oklch(35.7% 0.110 294.1);
Tailwind
colors: {
  custom: {
    50: '#796699',
    500: '#412d6f',
    950: '#000000',
  },
}
SCSS
$custom: #412d6f;
$custom-light: #796699;
$custom-dark: #000000;
JSON
{
  "hex": "#412d6f",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 258.182,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35699,
    "c": 0.10972,
    "h": 294.1
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#412D6F
secondary
#8AA157
accent
#D256AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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