#412C9D#412C9D

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

Color values

HEX#412C9D
RGBrgb(65, 44, 157)
HSLhsl(251, 56%, 39%)
HSVhsv(251, 72%, 62%)
CMYKcmyk(58.6%, 72%, 0%, 38.4%)
CIE-LABlab(27.73, 40.77, -58.18)
CIE-LCHlch(27.73, 71.04, 305.02°)
OKLaboklab(39.48% 0.0408 -0.1675)
OKLCHoklch(39.48% 0.172 283.7)
XYZxyz(9.1646, 5.3589, 32.4432)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C9D #889D2C
analogous
#2C509D #412C9D #792C9D
triadic
#412C9D #9D412C #2C9D41
tetradic
#412C9D #9D2C50 #889D2C #2C9D79
square
#412C9D #9D2C50 #889D2C #2C9D79
split-complementary
#412C9D #9D792C #509D2C
monochromatic
#19113D #2D1F6D #412C9D #573DC9 #816DD6

Accessibility & contrast

On white

10.14
#412C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C9D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C9D#FFFFFF#000000##FFFFFF
##412C9D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#0D4A61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412c9d;
/* rgb */ color: rgb(65, 44, 157);
/* oklch */ color: oklch(39.5% 0.172 283.7);
Tailwind
colors: {
  custom: {
    50: '#8067bb',
    500: '#412c9d',
    950: '#000000',
  },
}
SCSS
$custom: #412c9d;
$custom-light: #8067bb;
$custom-dark: #000000;
JSON
{
  "hex": "#412c9d",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 251.15,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39477,
    "c": 0.17242,
    "h": 283.7
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#412C9D
secondary
#ADBD68
accent
#E048C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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