#412B89#412B89

#412B89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.148 H 287.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#412B89
RGBrgb(65, 43, 137)
HSLhsl(254, 52%, 35%)
HSVhsv(254, 69%, 54%)
CMYKcmyk(52.6%, 68.6%, 0%, 46.3%)
CIE-LABlab(25.74, 35.12, -49.13)
CIE-LCHlch(25.74, 60.39, 305.56°)
OKLaboklab(37.49% 0.0453 -0.141)
OKLCHoklch(37.49% 0.148 287.8)
XYZxyz(7.5579, 4.6574, 24.1628)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B89 #73892B
analogous
#2B4489 #412B89 #702B89
triadic
#412B89 #89412B #2B8941
tetradic
#412B89 #892B44 #73892B #2B8970
square
#412B89 #892B44 #73892B #2B8970
split-complementary
#412B89 #89702B #44892B
monochromatic
#150E2C #2B1C5A #412B89 #573AB8 #7A61CD

Accessibility & contrast

On white

10.87
#412B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B89
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B89#FFFFFF#000000##FFFFFF
##412B891.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#264256
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412b89;
/* rgb */ color: rgb(65, 43, 137);
/* oklch */ color: oklch(37.5% 0.148 287.8);
Tailwind
colors: {
  custom: {
    50: '#7d66ac',
    500: '#412b89',
    950: '#000000',
  },
}
SCSS
$custom: #412b89;
$custom-light: #7d66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412b89",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 254.043,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.14805,
    "h": 287.8
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#412B89
secondary
#9FB35C
accent
#DC4CBA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B89

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

Preview Lab → · Contrast checker → · Palette generator →

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