#412D9B#412D9B

#412D9B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.169 H 283.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#412D9B
RGBrgb(65, 45, 155)
HSLhsl(251, 55%, 39%)
HSVhsv(251, 71%, 61%)
CMYKcmyk(58.1%, 71%, 0%, 39.2%)
CIE-LABlab(27.75, 39.58, -56.93)
CIE-LCHlch(27.75, 69.33, 304.81°)
OKLaboklab(39.43% 0.0403 -0.1638)
OKLCHoklch(39.43% 0.169 283.8)
XYZxyz(9.0329, 5.3666, 31.5639)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D9B #879B2D
analogous
#2D509B #412D9B #782D9B
triadic
#412D9B #9B412D #2D9B41
tetradic
#412D9B #9B2D50 #879B2D #2D9B78
square
#412D9B #9B2D50 #879B2D #2D9B78
split-complementary
#412D9B #9B782D #509B2D
monochromatic
#19113C #2D1F6C #412D9B #573EC7 #806ED5

Accessibility & contrast

On white

10.13
#412D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D9B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D9B#FFFFFF#000000##FFFFFF
##412D9B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#114A60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412d9b;
/* rgb */ color: rgb(65, 45, 155);
/* oklch */ color: oklch(39.4% 0.169 283.8);
Tailwind
colors: {
  custom: {
    50: '#8068b9',
    500: '#412d9b',
    950: '#000000',
  },
}
SCSS
$custom: #412d9b;
$custom-light: #8068b9;
$custom-dark: #000000;
JSON
{
  "hex": "#412d9b",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 250.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39435,
    "c": 0.16875,
    "h": 283.8
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#412D9B
secondary
#ADBC68
accent
#DE49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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