#412596#412596

#412596 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.172 H 286.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#412596
RGBrgb(65, 37, 150)
HSLhsl(255, 60%, 37%)
HSVhsv(255, 75%, 59%)
CMYKcmyk(56.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(25.71, 42.45, -57.22)
CIE-LCHlch(25.71, 71.24, 306.57°)
OKLaboklab(37.84% 0.0481 -0.1647)
OKLCHoklch(37.84% 0.172 286.3)
XYZxyz(8.3449, 4.6485, 29.3058)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412596 #7A9625
analogous
#254296 #412596 #7A2596
triadic
#412596 #964125 #259641
tetradic
#412596 #962542 #7A9625 #25967A
square
#412596 #962542 #7A9625 #25967A
split-complementary
#412596 #967A25 #429625
monochromatic
#160D34 #2C1965 #412596 #5631C7 #7C5ED7

Accessibility & contrast

On white

10.88
#412596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412596
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412596#FFFFFF#000000##FFFFFF
##4125961.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#1A445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412596;
/* rgb */ color: rgb(65, 37, 150);
/* oklch */ color: oklch(37.8% 0.172 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f63b6',
    500: '#412596',
    950: '#000000',
  },
}
SCSS
$custom: #412596;
$custom-light: #7f63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412596",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 254.867,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37839,
    "c": 0.17155,
    "h": 286.3
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#412596
secondary
#A4BC5B
accent
#E444BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412596

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

Preview Lab → · Contrast checker → · Palette generator →

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