#412B97#412B97

#412B97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.166 H 285.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#412B97
RGBrgb(65, 43, 151)
HSLhsl(252, 56%, 38%)
HSVhsv(252, 72%, 59%)
CMYKcmyk(57%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.98, 39.47, -55.75)
CIE-LCHlch(26.98, 68.31, 305.30°)
OKLaboklab(38.77% 0.0428 -0.1604)
OKLCHoklch(38.77% 0.166 285)
XYZxyz(8.6281, 5.0854, 29.7991)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B97 #81972B
analogous
#2B4B97 #412B97 #772B97
triadic
#412B97 #97412B #2B9741
tetradic
#412B97 #972B4B #81972B #2B9777
square
#412B97 #972B4B #81972B #2B9777
split-complementary
#412B97 #97772B #4B972B
monochromatic
#181038 #2C1D67 #412B97 #5639C7 #7E68D4

Accessibility & contrast

On white

10.41
#412B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B97
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B97#FFFFFF#000000##FFFFFF
##412B971.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#18485E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412b97;
/* rgb */ color: rgb(65, 43, 151);
/* oklch */ color: oklch(38.8% 0.166 285.0);
Tailwind
colors: {
  custom: {
    50: '#7f66b7',
    500: '#412b97',
    950: '#000000',
  },
}
SCSS
$custom: #412b97;
$custom-light: #7f66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412b97",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 252.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.16603,
    "h": 285
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#412B97
secondary
#A9BB63
accent
#DF49C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B97

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

Preview Lab → · Contrast checker → · Palette generator →

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