#412E88#412E88

#412E88 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.143 H 287.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#412E88
RGBrgb(65, 46, 136)
HSLhsl(253, 49%, 36%)
HSVhsv(253, 66%, 53%)
CMYKcmyk(52.2%, 66.2%, 0%, 46.7%)
CIE-LABlab(26.32, 33.00, -47.56)
CIE-LCHlch(26.32, 57.88, 304.76°)
OKLaboklab(37.89% 0.0422 -0.1363)
OKLCHoklch(37.89% 0.143 287.2)
XYZxyz(7.5996, 4.8550, 23.8245)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E88 #75882E
analogous
#2E4888 #412E88 #6E2E88
triadic
#412E88 #88412E #2E8841
tetradic
#412E88 #882E48 #75882E #2E886E
square
#412E88 #882E48 #75882E #2E886E
split-complementary
#412E88 #886E2E #48882E
monochromatic
#150F2D #2B1F5A #412E88 #573DB6 #7B65CB

Accessibility & contrast

On white

10.65
#412E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E88
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E88#FFFFFF#000000##FFFFFF
##412E881.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#274456
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412e88;
/* rgb */ color: rgb(65, 46, 136);
/* oklch */ color: oklch(37.9% 0.143 287.2);
Tailwind
colors: {
  custom: {
    50: '#7c68ab',
    500: '#412e88',
    950: '#000000',
  },
}
SCSS
$custom: #412e88;
$custom-light: #7c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412e88",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 252.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37888,
    "c": 0.14274,
    "h": 287.2
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#412E88
secondary
#A1B260
accent
#D94FBC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E88

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

Preview Lab → · Contrast checker → · Palette generator →

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