#412B9D#412B9D

#412B9D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.174 H 283.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#412B9D
RGBrgb(65, 43, 157)
HSLhsl(252, 57%, 39%)
HSVhsv(252, 73%, 62%)
CMYKcmyk(58.6%, 72.6%, 0%, 38.4%)
CIE-LABlab(27.53, 41.33, -58.51)
CIE-LCHlch(27.53, 71.64, 305.24°)
OKLaboklab(39.33% 0.0416 -0.1685)
OKLCHoklch(39.33% 0.174 283.9)
XYZxyz(9.1278, 5.2853, 32.4309)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B9D #879D2B
analogous
#2B4E9D #412B9D #7A2B9D
triadic
#412B9D #9D412B #2B9D41
tetradic
#412B9D #9D2B4E #879D2B #2B9D7A
square
#412B9D #9D2B4E #879D2B #2B9D7A
split-complementary
#412B9D #9D7A2B #4E9D2B
monochromatic
#19113D #2D1E6D #412B9D #573CCA #806CD7

Accessibility & contrast

On white

10.21
#412B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#412B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B9D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B9D#FFFFFF#000000##FFFFFF
##412B9D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#0E4A61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412b9d;
/* rgb */ color: rgb(65, 43, 157);
/* oklch */ color: oklch(39.3% 0.174 283.9);
Tailwind
colors: {
  custom: {
    50: '#8067bb',
    500: '#412b9d',
    950: '#000000',
  },
}
SCSS
$custom: #412b9d;
$custom-light: #8067bb;
$custom-dark: #000000;
JSON
{
  "hex": "#412b9d",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 251.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.17356,
    "h": 283.9
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#412B9D
secondary
#ADBD66
accent
#E048C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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