#412E95#412E95

#412E95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.160 H 284.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#412E95
RGBrgb(65, 46, 149)
HSLhsl(251, 53%, 38%)
HSVhsv(251, 69%, 58%)
CMYKcmyk(56.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(27.43, 37.11, -53.79)
CIE-LCHlch(27.43, 65.35, 304.60°)
OKLaboklab(39.03% 0.0405 -0.1546)
OKLCHoklch(39.03% 0.16 284.7)
XYZxyz(8.5801, 5.2472, 28.9886)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E95 #82952E
analogous
#2E4E95 #412E95 #742E95
triadic
#412E95 #95412E #2E9541
tetradic
#412E95 #952E4E #82952E #2E9574
square
#412E95 #952E4E #82952E #2E9574
split-complementary
#412E95 #95742E #4E952E
monochromatic
#181137 #2D2066 #412E95 #563DC3 #7F6CD2

Accessibility & contrast

On white

10.25
#412E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#412E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E95
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E95#FFFFFF#000000##FFFFFF
##412E951.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#1A485D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412e95;
/* rgb */ color: rgb(65, 46, 149);
/* oklch */ color: oklch(39.0% 0.160 284.7);
Tailwind
colors: {
  custom: {
    50: '#7f68b5',
    500: '#412e95',
    950: '#000000',
  },
}
SCSS
$custom: #412e95;
$custom-light: #7f68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412e95",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 251.068,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.15986,
    "h": 284.7
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#412E95
secondary
#A9B966
accent
#DC4CC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E95

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

Preview Lab → · Contrast checker → · Palette generator →

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