#412D89#412D89

#412D89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.145 H 287.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#412D89
RGBrgb(65, 45, 137)
HSLhsl(253, 51%, 36%)
HSVhsv(253, 67%, 54%)
CMYKcmyk(52.6%, 67.2%, 0%, 46.3%)
CIE-LABlab(26.18, 33.92, -48.41)
CIE-LCHlch(26.18, 59.11, 305.02°)
OKLaboklab(37.81% 0.0432 -0.1389)
OKLCHoklch(37.81% 0.145 287.3)
XYZxyz(7.6324, 4.8064, 24.1876)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D89 #75892D
analogous
#2D4789 #412D89 #6F2D89
triadic
#412D89 #89412D #2D8941
tetradic
#412D89 #892D47 #75892D #2D896F
square
#412D89 #892D47 #75892D #2D896F
split-complementary
#412D89 #896F2D #47892D
monochromatic
#150F2D #2B1E5B #412D89 #573CB7 #7B64CC

Accessibility & contrast

On white

10.71
#412D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D89
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D89#FFFFFF#000000##FFFFFF
##412D891.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#264457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412d89;
/* rgb */ color: rgb(65, 45, 137);
/* oklch */ color: oklch(37.8% 0.145 287.3);
Tailwind
colors: {
  custom: {
    50: '#7d67ac',
    500: '#412d89',
    950: '#000000',
  },
}
SCSS
$custom: #412d89;
$custom-light: #7d67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412d89",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 253.043,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.14542,
    "h": 287.3
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#412D89
secondary
#A1B35F
accent
#DA4EBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412D89

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

Preview Lab → · Contrast checker → · Palette generator →

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