#412A95#412A95

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

Color values

HEX#412A95
RGBrgb(65, 42, 149)
HSLhsl(253, 56%, 37%)
HSVhsv(253, 72%, 58%)
CMYKcmyk(56.4%, 71.8%, 0%, 41.6%)
CIE-LABlab(26.59, 39.41, -55.16)
CIE-LCHlch(26.59, 67.79, 305.55°)
OKLaboklab(38.44% 0.0441 -0.1587)
OKLCHoklch(38.44% 0.165 285.5)
XYZxyz(8.4311, 4.9492, 28.9390)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A95 #7E952A
analogous
#2A4995 #412A95 #762A95
triadic
#412A95 #95412A #2A9541
tetradic
#412A95 #952A49 #7E952A #2A9576
square
#412A95 #952A49 #7E952A #2A9576
split-complementary
#412A95 #95762A #49952A
monochromatic
#170F36 #2C1D65 #412A95 #5637C5 #7D66D4

Accessibility & contrast

On white

10.55
#412A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412A95
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A95#FFFFFF#000000##FFFFFF
##412A951.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412a95;
/* rgb */ color: rgb(65, 42, 149);
/* oklch */ color: oklch(38.4% 0.165 285.5);
Tailwind
colors: {
  custom: {
    50: '#7f66b5',
    500: '#412a95',
    950: '#000000',
  },
}
SCSS
$custom: #412a95;
$custom-light: #7f66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412a95",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 252.897,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38435,
    "c": 0.16468,
    "h": 285.5
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#412A95
secondary
#A7BA61
accent
#DF48BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A95

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

Preview Lab → · Contrast checker → · Palette generator →

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