#412A89#412A89

#412A89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.149 H 288.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#412A89
RGBrgb(65, 42, 137)
HSLhsl(255, 53%, 35%)
HSVhsv(255, 69%, 54%)
CMYKcmyk(52.6%, 69.3%, 0%, 46.3%)
CIE-LABlab(25.52, 35.70, -49.48)
CIE-LCHlch(25.52, 61.02, 305.81°)
OKLaboklab(37.34% 0.0463 -0.142)
OKLCHoklch(37.34% 0.149 288)
XYZxyz(7.5220, 4.5855, 24.1508)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A89 #72892A
analogous
#2A4389 #412A89 #702A89
triadic
#412A89 #89412A #2A8941
tetradic
#412A89 #892A43 #72892A #2A8970
square
#412A89 #892A43 #72892A #2A8970
split-complementary
#412A89 #89702A #43892A
monochromatic
#150D2B #2B1C5A #412A89 #5738B8 #7A5FCE

Accessibility & contrast

On white

10.95
#412A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A89
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A89#FFFFFF#000000##FFFFFF
##412A891.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412a89;
/* rgb */ color: rgb(65, 42, 137);
/* oklch */ color: oklch(37.3% 0.149 288.0);
Tailwind
colors: {
  custom: {
    50: '#7d65ac',
    500: '#412a89',
    950: '#000000',
  },
}
SCSS
$custom: #412a89;
$custom-light: #7d65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412a89",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 254.526,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.14935,
    "h": 288
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#412A89
secondary
#9EB45B
accent
#DC4BB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412A89

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

Preview Lab → · Contrast checker → · Palette generator →

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