#412AA0#412AA0

#412AA0 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.178 H 283.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#412AA0
RGBrgb(65, 42, 160)
HSLhsl(252, 58%, 40%)
HSVhsv(252, 74%, 63%)
CMYKcmyk(59.4%, 73.8%, 0%, 37.3%)
CIE-LABlab(27.62, 42.81, -60.19)
CIE-LCHlch(27.62, 73.86, 305.42°)
OKLaboklab(39.48% 0.0418 -0.1734)
OKLCHoklch(39.48% 0.178 283.5)
XYZxyz(9.3511, 5.3172, 33.7845)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA0 #89A02A
analogous
#2A4EA0 #412AA0 #7C2AA0
triadic
#412AA0 #A0412A #2AA041
tetradic
#412AA0 #A02A4E #89A02A #2AA07C
square
#412AA0 #A02A4E #89A02A #2AA07C
split-complementary
#412AA0 #A07C2A #4EA02A
monochromatic
#1A113F #2D1D70 #412AA0 #583CCC #816CD8

Accessibility & contrast

On white

10.18
#412AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#412AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA0
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA0#FFFFFF#000000##FFFFFF
##412AA01.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#064A62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412aa0;
/* rgb */ color: rgb(65, 42, 160);
/* oklch */ color: oklch(39.5% 0.178 283.5);
Tailwind
colors: {
  custom: {
    50: '#8166bd',
    500: '#412aa0',
    950: '#000000',
  },
}
SCSS
$custom: #412aa0;
$custom-light: #8166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa0",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 251.695,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.17837,
    "h": 283.5
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#412AA0
secondary
#AEBF67
accent
#E246C3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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