#412D70#412D70

#412D70 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.8% C 0.111 H 293.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#412D70
RGBrgb(65, 45, 112)
HSLhsl(258, 43%, 31%)
HSVhsv(258, 60%, 44%)
CMYKcmyk(42%, 59.8%, 0%, 56.1%)
CIE-LABlab(24.23, 26.16, -35.77)
CIE-LCHlch(24.23, 44.32, 306.18°)
OKLaboklab(35.78% 0.0448 -0.1017)
OKLCHoklch(35.78% 0.111 293.8)
XYZxyz(6.0422, 4.1703, 15.8127)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D70 #5C702D
analogous
#2D3A70 #412D70 #622D70
triadic
#412D70 #70412D #2D7041
tetradic
#412D70 #702D3A #5C702D #2D7062
square
#412D70 #702D3A #5C702D #2D7062
split-complementary
#412D70 #70622D #3A702D
monochromatic
#0E0A19 #281B44 #412D70 #5A3F9C #785ABD

Accessibility & contrast

On white

11.45
#412D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D70
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D70#FFFFFF#000000##FFFFFF
##412D701.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#10386F
Tritanopia (blue-blind)
#353B4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412d70;
/* rgb */ color: rgb(65, 45, 112);
/* oklch */ color: oklch(35.8% 0.111 293.8);
Tailwind
colors: {
  custom: {
    50: '#796799',
    500: '#412d70',
    950: '#000000',
  },
}
SCSS
$custom: #412d70;
$custom-light: #796799;
$custom-dark: #000000;
JSON
{
  "hex": "#412d70",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 257.91,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35775,
    "c": 0.11113,
    "h": 293.8
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#412D70
secondary
#8BA257
accent
#D255AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D70

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

Preview Lab → · Contrast checker → · Palette generator →

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