#412B82#412B82

#412B82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.139 H 289.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#412B82
RGBrgb(65, 43, 130)
HSLhsl(255, 50%, 34%)
HSVhsv(255, 67%, 51%)
CMYKcmyk(50%, 66.9%, 0%, 49%)
CIE-LABlab(25.15, 32.94, -45.71)
CIE-LCHlch(25.15, 56.34, 305.78°)
OKLaboklab(36.89% 0.0462 -0.1309)
OKLCHoklch(36.89% 0.139 289.4)
XYZxyz(7.0720, 4.4630, 21.6036)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B82 #6C822B
analogous
#2B4182 #412B82 #6D2B82
triadic
#412B82 #82412B #2B8241
tetradic
#412B82 #822B41 #6C822B #2B826D
square
#412B82 #822B41 #6C822B #2B826D
split-complementary
#412B82 #826D2B #41822B
monochromatic
#130D26 #2A1C54 #412B82 #583AB0 #795ECA

Accessibility & contrast

On white

11.10
#412B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B82
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B82#FFFFFF#000000##FFFFFF
##412B821.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#2B4052
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412b82;
/* rgb */ color: rgb(65, 43, 130);
/* oklch */ color: oklch(36.9% 0.139 289.4);
Tailwind
colors: {
  custom: {
    50: '#7c66a7',
    500: '#412b82',
    950: '#000000',
  },
}
SCSS
$custom: #412b82;
$custom-light: #7c66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412b82",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 255.172,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.13883,
    "h": 289.4
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#412B82
secondary
#9AB059
accent
#DA4EB6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412B82

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

Preview Lab → · Contrast checker → · Palette generator →

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