#412A88#412A88

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

Color values

HEX#412A88
RGBrgb(65, 42, 136)
HSLhsl(255, 53%, 35%)
HSVhsv(255, 69%, 53%)
CMYKcmyk(52.2%, 69.1%, 0%, 46.7%)
CIE-LABlab(25.43, 35.39, -49.00)
CIE-LCHlch(25.43, 60.44, 305.84°)
OKLaboklab(37.25% 0.0464 -0.1406)
OKLCHoklch(37.25% 0.148 288.3)
XYZxyz(7.4506, 4.5570, 23.7748)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A88 #71882A
analogous
#2A4288 #412A88 #702A88
triadic
#412A88 #88412A #2A8841
tetradic
#412A88 #882A42 #71882A #2A8870
square
#412A88 #882A42 #71882A #2A8870
split-complementary
#412A88 #88702A #42882A
monochromatic
#140D2A #2B1C59 #412A88 #5738B7 #7A5FCE

Accessibility & contrast

On white

10.99
#412A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A88
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A88#FFFFFF#000000##FFFFFF
##412A881.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#274255
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412a88;
/* rgb */ color: rgb(65, 42, 136);
/* oklch */ color: oklch(37.3% 0.148 288.3);
Tailwind
colors: {
  custom: {
    50: '#7d65ab',
    500: '#412a88',
    950: '#000000',
  },
}
SCSS
$custom: #412a88;
$custom-light: #7d65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412a88",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 254.681,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.14805,
    "h": 288.3
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#412A88
secondary
#9EB35B
accent
#DC4CB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412A88

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

Preview Lab → · Contrast checker → · Palette generator →

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