#412496#412496

#412496 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.173 H 286.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#412496
RGBrgb(65, 36, 150)
HSLhsl(255, 61%, 36%)
HSVhsv(255, 76%, 59%)
CMYKcmyk(56.7%, 76%, 0%, 41.2%)
CIE-LABlab(25.52, 42.97, -57.52)
CIE-LCHlch(25.52, 71.80, 306.76°)
OKLaboklab(37.71% 0.0489 -0.1655)
OKLCHoklch(37.71% 0.173 286.4)
XYZxyz(8.3142, 4.5871, 29.2955)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412496 #799624
analogous
#244096 #412496 #7A2496
triadic
#412496 #964124 #249641
tetradic
#412496 #962440 #799624 #24967A
square
#412496 #962440 #799624 #24967A
split-complementary
#412496 #967A24 #409624
monochromatic
#160C33 #2C1865 #412496 #5630C7 #7C5CD8

Accessibility & contrast

On white

10.95
#412496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412496
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412496#FFFFFF#000000##FFFFFF
##4124961.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1A445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412496;
/* rgb */ color: rgb(65, 36, 150);
/* oklch */ color: oklch(37.7% 0.173 286.4);
Tailwind
colors: {
  custom: {
    50: '#8062b6',
    500: '#412496',
    950: '#000000',
  },
}
SCSS
$custom: #412496;
$custom-light: #8062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412496",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 255.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.17261,
    "h": 286.4
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#412496
secondary
#A3BD59
accent
#E443BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412496

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

Preview Lab → · Contrast checker → · Palette generator →

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