#412D9A#412D9A

#412D9A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.167 H 284.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#412D9A
RGBrgb(65, 45, 154)
HSLhsl(251, 55%, 39%)
HSVhsv(251, 71%, 60%)
CMYKcmyk(57.8%, 70.8%, 0%, 39.6%)
CIE-LABlab(27.66, 39.26, -56.46)
CIE-LCHlch(27.66, 68.77, 304.81°)
OKLaboklab(39.34% 0.0405 -0.1625)
OKLCHoklch(39.34% 0.167 284)
XYZxyz(8.9493, 5.3331, 31.1234)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D9A #869A2D
analogous
#2D509A #412D9A #782D9A
triadic
#412D9A #9A412D #2D9A41
tetradic
#412D9A #9A2D50 #869A2D #2D9A78
square
#412D9A #9A2D50 #869A2D #2D9A78
split-complementary
#412D9A #9A782D #509A2D
monochromatic
#19113B #2D1F6B #412D9A #573EC7 #806DD4

Accessibility & contrast

On white

10.16
#412D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#412D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D9A
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D9A#FFFFFF#000000##FFFFFF
##412D9A1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#134A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412d9a;
/* rgb */ color: rgb(65, 45, 154);
/* oklch */ color: oklch(39.3% 0.167 284.0);
Tailwind
colors: {
  custom: {
    50: '#8068b9',
    500: '#412d9a',
    950: '#000000',
  },
}
SCSS
$custom: #412d9a;
$custom-light: #8068b9;
$custom-dark: #000000;
JSON
{
  "hex": "#412d9a",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 251.009,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.16748,
    "h": 284
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#412D9A
secondary
#ACBB67
accent
#DE4AC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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