#412F91#412F91

#412F91 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.153 H 285.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#412F91
RGBrgb(65, 47, 145)
HSLhsl(251, 51%, 38%)
HSVhsv(251, 68%, 57%)
CMYKcmyk(55.2%, 67.6%, 0%, 43.1%)
CIE-LABlab(27.30, 35.25, -51.54)
CIE-LCHlch(27.30, 62.44, 304.37°)
OKLaboklab(38.83% 0.0401 -0.148)
OKLCHoklch(38.83% 0.153 285.2)
XYZxyz(8.3058, 5.2007, 27.3488)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F91 #7F912F
analogous
#2F4E91 #412F91 #722F91
triadic
#412F91 #91412F #2F9141
tetradic
#412F91 #912F4E #7F912F #2F9172
square
#412F91 #912F4E #7F912F #2F9172
split-complementary
#412F91 #91722F #4E912F
monochromatic
#181135 #2C2063 #412F91 #563EBF #7E6BCF

Accessibility & contrast

On white

10.29
#412F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#412F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F91
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F91#FFFFFF#000000##FFFFFF
##412F911.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412f91;
/* rgb */ color: rgb(65, 47, 145);
/* oklch */ color: oklch(38.8% 0.153 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e69b2',
    500: '#412f91',
    950: '#000000',
  },
}
SCSS
$custom: #412f91;
$custom-light: #7e69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412f91",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 251.02,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38835,
    "c": 0.15338,
    "h": 285.2
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#412F91
secondary
#A7B665
accent
#DB4DC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F91

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

Preview Lab → · Contrast checker → · Palette generator →

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