#412196#412196

#412196 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.176 H 286.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#412196
RGBrgb(65, 33, 150)
HSLhsl(256, 64%, 36%)
HSVhsv(256, 78%, 59%)
CMYKcmyk(56.7%, 78%, 0%, 41.2%)
CIE-LABlab(24.99, 44.49, -58.40)
CIE-LCHlch(24.99, 73.41, 307.30°)
OKLaboklab(37.34% 0.0512 -0.1681)
OKLCHoklch(37.34% 0.176 286.9)
XYZxyz(8.2272, 4.4131, 29.2665)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412196 #769621
analogous
#213C96 #412196 #7B2196
triadic
#412196 #964121 #219641
tetradic
#412196 #96213C #769621 #21967B
square
#412196 #96213C #769621 #21967B
split-complementary
#412196 #967B21 #3C9621
monochromatic
#160B32 #2B1664 #412196 #572CC8 #7B57DA

Accessibility & contrast

On white

11.15
#412196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412196
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412196#FFFFFF#000000##FFFFFF
##4121961.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412196;
/* rgb */ color: rgb(65, 33, 150);
/* oklch */ color: oklch(37.3% 0.176 286.9);
Tailwind
colors: {
  custom: {
    50: '#8060b6',
    500: '#412196',
    950: '#000000',
  },
}
SCSS
$custom: #412196;
$custom-light: #8060b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412196",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 256.41,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.17569,
    "h": 286.9
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#412196
secondary
#A1BE55
accent
#E741BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412196

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

Preview Lab → · Contrast checker → · Palette generator →

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