#412B93#412B93

#412B93 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.161 H 285.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#412B93
RGBrgb(65, 43, 147)
HSLhsl(253, 55%, 37%)
HSVhsv(253, 71%, 58%)
CMYKcmyk(55.8%, 70.7%, 0%, 42.4%)
CIE-LABlab(26.61, 38.22, -53.89)
CIE-LCHlch(26.61, 66.07, 305.35°)
OKLaboklab(38.4% 0.0436 -0.1549)
OKLCHoklch(38.4% 0.161 285.7)
XYZxyz(8.3087, 4.9577, 28.1172)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B93 #7D932B
analogous
#2B4993 #412B93 #752B93
triadic
#412B93 #93412B #2B9341
tetradic
#412B93 #932B49 #7D932B #2B9375
square
#412B93 #932B49 #7D932B #2B9375
split-complementary
#412B93 #93752B #49932B
monochromatic
#170F34 #2C1D64 #412B93 #5639C2 #7D66D2

Accessibility & contrast

On white

10.54
#412B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#412B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B93
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B93#FFFFFF#000000##FFFFFF
##412B931.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#1D465B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412b93;
/* rgb */ color: rgb(65, 43, 147);
/* oklch */ color: oklch(38.4% 0.161 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e66b4',
    500: '#412b93',
    950: '#000000',
  },
}
SCSS
$custom: #412b93;
$custom-light: #7e66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412b93",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 252.692,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.16095,
    "h": 285.7
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#412B93
secondary
#A6B961
accent
#DE4ABF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412B93

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

Preview Lab → · Contrast checker → · Palette generator →

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