#412A93#412A93

#412A93 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.162 H 285.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#412A93
RGBrgb(65, 42, 147)
HSLhsl(253, 56%, 37%)
HSVhsv(253, 71%, 58%)
CMYKcmyk(55.8%, 71.4%, 0%, 42.4%)
CIE-LABlab(26.41, 38.80, -54.23)
CIE-LCHlch(26.41, 66.68, 305.58°)
OKLaboklab(38.25% 0.0445 -0.1559)
OKLCHoklch(38.25% 0.162 285.9)
XYZxyz(8.2728, 4.8859, 28.1053)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A93 #7C932A
analogous
#2A4793 #412A93 #762A93
triadic
#412A93 #93412A #2A9341
tetradic
#412A93 #932A47 #7C932A #2A9376
square
#412A93 #932A47 #7C932A #2A9376
split-complementary
#412A93 #93762A #47932A
monochromatic
#170F34 #2C1C63 #412A93 #5638C3 #7D65D3

Accessibility & contrast

On white

10.62
#412A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#412A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A93
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A93#FFFFFF#000000##FFFFFF
##412A931.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#1D465B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412a93;
/* rgb */ color: rgb(65, 42, 147);
/* oklch */ color: oklch(38.2% 0.162 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f66b4',
    500: '#412a93',
    950: '#000000',
  },
}
SCSS
$custom: #412a93;
$custom-light: #7f66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412a93",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 253.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.16216,
    "h": 285.9
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#412A93
secondary
#A5B960
accent
#DF49BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A93

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

Preview Lab → · Contrast checker → · Palette generator →

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