#412B85#412B85

#412B85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.143 H 288.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#412B85
RGBrgb(65, 43, 133)
HSLhsl(255, 51%, 35%)
HSVhsv(255, 68%, 52%)
CMYKcmyk(51.1%, 67.7%, 0%, 47.8%)
CIE-LABlab(25.40, 33.87, -47.18)
CIE-LCHlch(25.40, 58.08, 305.68°)
OKLaboklab(37.14% 0.0458 -0.1352)
OKLCHoklch(37.14% 0.143 288.7)
XYZxyz(7.2763, 4.5447, 22.6796)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B85 #6F852B
analogous
#2B4285 #412B85 #6E2B85
triadic
#412B85 #85412B #2B8541
tetradic
#412B85 #852B42 #6F852B #2B856E
square
#412B85 #852B42 #6F852B #2B856E
split-complementary
#412B85 #856E2B #42852B
monochromatic
#140D29 #2A1C57 #412B85 #583AB3 #7A5FCB

Accessibility & contrast

On white

11.00
#412B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B85
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B85#FFFFFF#000000##FFFFFF
##412B851.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#294154
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412b85;
/* rgb */ color: rgb(65, 43, 133);
/* oklch */ color: oklch(37.1% 0.143 288.7);
Tailwind
colors: {
  custom: {
    50: '#7c66a9',
    500: '#412b85',
    950: '#000000',
  },
}
SCSS
$custom: #412b85;
$custom-light: #7c66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412b85",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 254.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.1428,
    "h": 288.7
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#412B85
secondary
#9CB15B
accent
#DB4DB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B85

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

Preview Lab → · Contrast checker → · Palette generator →

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