#412E91#412E91

#412E91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.155 H 285.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#412E91
RGBrgb(65, 46, 145)
HSLhsl(252, 52%, 37%)
HSVhsv(252, 68%, 57%)
CMYKcmyk(55.2%, 68.3%, 0%, 43.1%)
CIE-LABlab(27.08, 35.84, -51.90)
CIE-LCHlch(27.08, 63.07, 304.63°)
OKLaboklab(38.68% 0.0411 -0.1491)
OKLCHoklch(38.68% 0.155 285.4)
XYZxyz(8.2663, 5.1217, 27.3356)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E91 #7E912E
analogous
#2E4D91 #412E91 #722E91
triadic
#412E91 #91412E #2E9141
tetradic
#412E91 #912E4D #7E912E #2E9172
square
#412E91 #912E4D #7E912E #2E9172
split-complementary
#412E91 #91722E #4D912E
monochromatic
#171134 #2C1F63 #412E91 #563DBF #7D6AD0

Accessibility & contrast

On white

10.37
#412E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E91
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E91#FFFFFF#000000##FFFFFF
##412E911.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#1F475B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412e91;
/* rgb */ color: rgb(65, 46, 145);
/* oklch */ color: oklch(38.7% 0.155 285.4);
Tailwind
colors: {
  custom: {
    50: '#7e68b2',
    500: '#412e91',
    950: '#000000',
  },
}
SCSS
$custom: #412e91;
$custom-light: #7e68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412e91",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 251.515,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38676,
    "c": 0.15466,
    "h": 285.4
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#412E91
secondary
#A7B764
accent
#DB4DC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E91

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

Preview Lab → · Contrast checker → · Palette generator →

#412E91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva