#412096#412096

#412096 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.177 H 287.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#412096
RGBrgb(65, 32, 150)
HSLhsl(257, 65%, 36%)
HSVhsv(257, 79%, 59%)
CMYKcmyk(56.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(24.82, 44.97, -58.68)
CIE-LCHlch(24.82, 73.93, 307.47°)
OKLaboklab(37.22% 0.0519 -0.1689)
OKLCHoklch(37.22% 0.177 287.1)
XYZxyz(8.1999, 4.3584, 29.2574)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412096 #759620
analogous
#203A96 #412096 #7C2096
triadic
#412096 #964120 #209641
tetradic
#412096 #96203A #759620 #20967C
square
#412096 #96203A #759620 #20967C
split-complementary
#412096 #967C20 #3A9620
monochromatic
#150A31 #2B1564 #412096 #572BC8 #7B56DB

Accessibility & contrast

On white

11.22
#412096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412096
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412096#FFFFFF#000000##FFFFFF
##4120961.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1B425A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412096;
/* rgb */ color: rgb(65, 32, 150);
/* oklch */ color: oklch(37.2% 0.177 287.1);
Tailwind
colors: {
  custom: {
    50: '#8060b6',
    500: '#412096',
    950: '#000000',
  },
}
SCSS
$custom: #412096;
$custom-light: #8060b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412096",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 256.78,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.17668,
    "h": 287.1
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#412096
secondary
#A1BE53
accent
#E840B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412096

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

Preview Lab → · Contrast checker → · Palette generator →

#412096 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva