#412D91#412D91

#412D91 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.156 H 285.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#412D91
RGBrgb(65, 45, 145)
HSLhsl(252, 53%, 37%)
HSVhsv(252, 69%, 57%)
CMYKcmyk(55.2%, 69%, 0%, 43.1%)
CIE-LABlab(26.86, 36.44, -52.25)
CIE-LCHlch(26.86, 63.70, 304.89°)
OKLaboklab(38.52% 0.0421 -0.1501)
OKLCHoklch(38.52% 0.156 285.6)
XYZxyz(8.2277, 5.0445, 27.3227)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D91 #7D912D
analogous
#2D4B91 #412D91 #732D91
triadic
#412D91 #91412D #2D9141
tetradic
#412D91 #912D4B #7D912D #2D9173
square
#412D91 #912D4B #7D912D #2D9173
split-complementary
#412D91 #91732D #4B912D
monochromatic
#171034 #2C1F62 #412D91 #563BC0 #7D68D0

Accessibility & contrast

On white

10.45
#412D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#412D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D91
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D91#FFFFFF#000000##FFFFFF
##412D911.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#1F465B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412d91;
/* rgb */ color: rgb(65, 45, 145);
/* oklch */ color: oklch(38.5% 0.156 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e67b2',
    500: '#412d91',
    950: '#000000',
  },
}
SCSS
$custom: #412d91;
$custom-light: #7e67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412d91",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 252,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38519,
    "c": 0.15592,
    "h": 285.6
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#412D91
secondary
#A6B763
accent
#DC4CBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412D91

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

Preview Lab → · Contrast checker → · Palette generator →

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