#412D9C#412D9C

#412D9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.170 H 283.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#412D9C
RGBrgb(65, 45, 156)
HSLhsl(251, 55%, 39%)
HSVhsv(251, 71%, 61%)
CMYKcmyk(58.3%, 71.2%, 0%, 38.8%)
CIE-LABlab(27.85, 39.89, -57.39)
CIE-LCHlch(27.85, 69.89, 304.80°)
OKLaboklab(39.53% 0.0402 -0.1652)
OKLCHoklch(39.53% 0.17 283.7)
XYZxyz(9.1173, 5.4003, 32.0080)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D9C #889C2D
analogous
#2D519C #412D9C #792D9C
triadic
#412D9C #9C412D #2D9C41
tetradic
#412D9C #9C2D51 #889C2D #2D9C79
square
#412D9C #9C2D51 #889C2D #2D9C79
split-complementary
#412D9C #9C792D #519C2D
monochromatic
#19123D #2D1F6D #412D9C #573FC8 #816ED5

Accessibility & contrast

On white

10.10
#412D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#412D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D9C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D9C#FFFFFF#000000##FFFFFF
##412D9C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#0F4A61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412d9c;
/* rgb */ color: rgb(65, 45, 156);
/* oklch */ color: oklch(39.5% 0.170 283.7);
Tailwind
colors: {
  custom: {
    50: '#8068ba',
    500: '#412d9c',
    950: '#000000',
  },
}
SCSS
$custom: #412d9c;
$custom-light: #8068ba;
$custom-dark: #000000;
JSON
{
  "hex": "#412d9c",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 250.811,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.17001,
    "h": 283.7
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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