#412C9B#412C9B

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

Color values

HEX#412C9B
RGBrgb(65, 44, 155)
HSLhsl(251, 56%, 39%)
HSVhsv(251, 72%, 61%)
CMYKcmyk(58.1%, 71.6%, 0%, 39.2%)
CIE-LABlab(27.55, 40.15, -57.26)
CIE-LCHlch(27.55, 69.93, 305.03°)
OKLaboklab(39.29% 0.0412 -0.1648)
OKLCHoklch(39.29% 0.17 284)
XYZxyz(8.9952, 5.2912, 31.5513)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C9B #869B2C
analogous
#2C4F9B #412C9B #792C9B
triadic
#412C9B #9B412C #2C9B41
tetradic
#412C9B #9B2C4F #869B2C #2C9B79
square
#412C9B #9B2C4F #869B2C #2C9B79
split-complementary
#412C9B #9B792C #4F9B2C
monochromatic
#19113C #2D1E6B #412C9B #573CC8 #806CD5

Accessibility & contrast

On white

10.20
#412C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C9B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C9B#FFFFFF#000000##FFFFFF
##412C9B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#124A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412c9b;
/* rgb */ color: rgb(65, 44, 155);
/* oklch */ color: oklch(39.3% 0.170 284.0);
Tailwind
colors: {
  custom: {
    50: '#8067b9',
    500: '#412c9b',
    950: '#000000',
  },
}
SCSS
$custom: #412c9b;
$custom-light: #8067b9;
$custom-dark: #000000;
JSON
{
  "hex": "#412c9b",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 251.351,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.16991,
    "h": 284
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#412C9B
secondary
#ACBC67
accent
#DF49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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