#412591#412591

#412591 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.165 H 287.3°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#412591
RGBrgb(65, 37, 145)
HSLhsl(256, 59%, 36%)
HSVhsv(256, 74%, 57%)
CMYKcmyk(55.2%, 74.5%, 0%, 43.1%)
CIE-LABlab(25.23, 40.95, -54.92)
CIE-LCHlch(25.23, 68.50, 306.71°)
OKLaboklab(37.36% 0.0493 -0.1579)
OKLCHoklch(37.36% 0.165 287.3)
XYZxyz(7.9509, 4.4909, 27.2304)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412591 #759125
analogous
#253F91 #412591 #772591
triadic
#412591 #914125 #259141
tetradic
#412591 #91253F #759125 #259177
square
#412591 #91253F #759125 #259177
split-complementary
#412591 #917725 #3F9125
monochromatic
#150C2F #2B1960 #412591 #5731C2 #7B5BD5

Accessibility & contrast

On white

11.06
#412591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412591
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412591#FFFFFF#000000##FFFFFF
##4125911.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#204259
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412591;
/* rgb */ color: rgb(65, 37, 145);
/* oklch */ color: oklch(37.4% 0.165 287.3);
Tailwind
colors: {
  custom: {
    50: '#7f62b2',
    500: '#412591',
    950: '#000000',
  },
}
SCSS
$custom: #412591;
$custom-light: #7f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412591",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 255.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.16545,
    "h": 287.3
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#412591
secondary
#A1BA58
accent
#E345BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412591

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

Preview Lab → · Contrast checker → · Palette generator →

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