#412E97#412E97

#412E97 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.162 H 284.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#412E97
RGBrgb(65, 46, 151)
HSLhsl(251, 53%, 39%)
HSVhsv(251, 70%, 59%)
CMYKcmyk(57%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.61, 37.74, -54.72)
CIE-LCHlch(27.61, 66.48, 304.59°)
OKLaboklab(39.22% 0.0402 -0.1574)
OKLCHoklch(39.22% 0.162 284.3)
XYZxyz(8.7412, 5.3117, 29.8368)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E97 #84972E
analogous
#2E4F97 #412E97 #752E97
triadic
#412E97 #97412E #2E9741
tetradic
#412E97 #972E4F #84972E #2E9775
square
#412E97 #972E4F #84972E #2E9775
split-complementary
#412E97 #97752E #4F972E
monochromatic
#191139 #2D2068 #412E97 #563EC4 #7F6DD2

Accessibility & contrast

On white

10.18
#412E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#412E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E97
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E97#FFFFFF#000000##FFFFFF
##412E971.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#18495F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412e97;
/* rgb */ color: rgb(65, 46, 151);
/* oklch */ color: oklch(39.2% 0.162 284.3);
Tailwind
colors: {
  custom: {
    50: '#7f68b7',
    500: '#412e97',
    950: '#000000',
  },
}
SCSS
$custom: #412e97;
$custom-light: #7f68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412e97",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 250.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.16245,
    "h": 284.3
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#412E97
secondary
#ABBA67
accent
#DD4BC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E97

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

Preview Lab → · Contrast checker → · Palette generator →

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