#412C9C#412C9C

#412C9C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.171 H 283.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#412C9C
RGBrgb(65, 44, 156)
HSLhsl(251, 56%, 39%)
HSVhsv(251, 72%, 61%)
CMYKcmyk(58.3%, 71.8%, 0%, 38.8%)
CIE-LABlab(27.64, 40.46, -57.72)
CIE-LCHlch(27.64, 70.49, 305.03°)
OKLaboklab(39.38% 0.041 -0.1662)
OKLCHoklch(39.38% 0.171 283.9)
XYZxyz(9.0796, 5.3249, 31.9954)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C9C #879C2C
analogous
#2C4F9C #412C9C #792C9C
triadic
#412C9C #9C412C #2C9C41
tetradic
#412C9C #9C2C4F #879C2C #2C9C79
square
#412C9C #9C2C4F #879C2C #2C9C79
split-complementary
#412C9C #9C792C #4F9C2C
monochromatic
#19113D #2D1F6C #412C9C #573DC8 #806DD6

Accessibility & contrast

On white

10.17
#412C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C9C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C9C#FFFFFF#000000##FFFFFF
##412C9C1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#104A61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412c9c;
/* rgb */ color: rgb(65, 44, 156);
/* oklch */ color: oklch(39.4% 0.171 283.9);
Tailwind
colors: {
  custom: {
    50: '#8067ba',
    500: '#412c9c',
    950: '#000000',
  },
}
SCSS
$custom: #412c9c;
$custom-light: #8067ba;
$custom-dark: #000000;
JSON
{
  "hex": "#412c9c",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 251.25,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.17117,
    "h": 283.9
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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