#412C95#412C95

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

Color values

HEX#412C95
RGBrgb(65, 44, 149)
HSLhsl(252, 54%, 38%)
HSVhsv(252, 70%, 58%)
CMYKcmyk(56.4%, 70.5%, 0%, 41.6%)
CIE-LABlab(27.00, 38.27, -54.48)
CIE-LCHlch(27.00, 66.58, 305.09°)
OKLaboklab(38.73% 0.0423 -0.1567)
OKLCHoklch(38.73% 0.162 285.1)
XYZxyz(8.5038, 5.0946, 28.9632)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C95 #80952C
analogous
#2C4B95 #412C95 #752C95
triadic
#412C95 #95412C #2C9541
tetradic
#412C95 #952C4B #80952C #2C9575
square
#412C95 #952C4B #80952C #2C9575
split-complementary
#412C95 #95752C #4B952C
monochromatic
#181037 #2C1E66 #412C95 #563AC4 #7E69D3

Accessibility & contrast

On white

10.40
#412C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C95
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C95#FFFFFF#000000##FFFFFF
##412C951.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#1B475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412c95;
/* rgb */ color: rgb(65, 44, 149);
/* oklch */ color: oklch(38.7% 0.162 285.1);
Tailwind
colors: {
  custom: {
    50: '#7f67b5',
    500: '#412c95',
    950: '#000000',
  },
}
SCSS
$custom: #412c95;
$custom-light: #7f67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412c95",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 252,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.1623,
    "h": 285.1
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#412C95
secondary
#A8B964
accent
#DE4AC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412C95

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

Preview Lab → · Contrast checker → · Palette generator →

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