#412D5E#412D5E

#412D5E is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.5% C 0.085 H 300.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#412D5E
RGBrgb(65, 45, 94)
HSLhsl(264, 35%, 27%)
HSVhsv(264, 52%, 37%)
CMYKcmyk(30.9%, 52.1%, 0%, 63.1%)
CIE-LABlab(23.03, 20.83, -26.00)
CIE-LCHlch(23.03, 33.32, 308.70°)
OKLaboklab(34.5% 0.0437 -0.0731)
OKLCHoklch(34.5% 0.085 300.9)
XYZxyz(5.1383, 3.8087, 11.0520)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D5E #4A5E2D
analogous
#2D315E #412D5E #5A2D5E
triadic
#412D5E #5E412D #2D5E41
tetradic
#412D5E #5E2D31 #4A5E2D #2D5E5A
square
#412D5E #5E2D31 #4A5E2D #2D5E5A
split-complementary
#412D5E #5E5A2D #315E2D
monochromatic
#0E0A15 #241935 #412D5E #5E4187 #7B57AF

Accessibility & contrast

On white

11.92
#412D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D5E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D5E#FFFFFF#000000##FFFFFF
##412D5E1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3760
Deuteranopia (green-blind)
#23375D
Tritanopia (blue-blind)
#3B3641
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412d5e;
/* rgb */ color: rgb(65, 45, 94);
/* oklch */ color: oklch(34.5% 0.085 300.9);
Tailwind
colors: {
  custom: {
    50: '#77668c',
    500: '#412d5e',
    950: '#000000',
  },
}
SCSS
$custom: #412d5e;
$custom-light: #77668c;
$custom-dark: #000000;
JSON
{
  "hex": "#412d5e",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 264.49,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34501,
    "c": 0.08514,
    "h": 300.9
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#412D5E
secondary
#799057
accent
#CB5D9E
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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