#412B95#412B95

#412B95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.164 H 285.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#412B95
RGBrgb(65, 43, 149)
HSLhsl(252, 55%, 38%)
HSVhsv(252, 71%, 58%)
CMYKcmyk(56.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(26.79, 38.85, -54.82)
CIE-LCHlch(26.79, 67.19, 305.32°)
OKLaboklab(38.58% 0.0432 -0.1577)
OKLCHoklch(38.58% 0.164 285.3)
XYZxyz(8.4670, 5.0210, 28.9509)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B95 #7F952B
analogous
#2B4A95 #412B95 #762B95
triadic
#412B95 #95412B #2B9541
tetradic
#412B95 #952B4A #7F952B #2B9576
square
#412B95 #952B4A #7F952B #2B9576
split-complementary
#412B95 #95762B #4A952B
monochromatic
#181036 #2C1D66 #412B95 #5639C4 #7E67D3

Accessibility & contrast

On white

10.48
#412B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B95
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B95#FFFFFF#000000##FFFFFF
##412B951.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#1B475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412b95;
/* rgb */ color: rgb(65, 43, 149);
/* oklch */ color: oklch(38.6% 0.164 285.3);
Tailwind
colors: {
  custom: {
    50: '#7f66b5',
    500: '#412b95',
    950: '#000000',
  },
}
SCSS
$custom: #412b95;
$custom-light: #7f66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412b95",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 252.453,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.1635,
    "h": 285.3
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412B95

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

Preview Lab → · Contrast checker → · Palette generator →

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