#412C90#412C90

#412C90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.156 H 286.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#412C90
RGBrgb(65, 44, 144)
HSLhsl(253, 53%, 37%)
HSVhsv(253, 69%, 56%)
CMYKcmyk(54.9%, 69.4%, 0%, 43.5%)
CIE-LABlab(26.56, 36.71, -52.13)
CIE-LCHlch(26.56, 63.76, 305.15°)
OKLaboklab(38.27% 0.0432 -0.1498)
OKLCHoklch(38.27% 0.156 286.1)
XYZxyz(8.1132, 4.9384, 26.9058)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C90 #7B902C
analogous
#2C4990 #412C90 #732C90
triadic
#412C90 #90412C #2C9041
tetradic
#412C90 #902C49 #7B902C #2C9073
square
#412C90 #902C49 #7B902C #2C9073
split-complementary
#412C90 #90732C #49902C
monochromatic
#170F32 #2C1E61 #412C90 #563ABF #7C66D0

Accessibility & contrast

On white

10.56
#412C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#412C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C90
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C90#FFFFFF#000000##FFFFFF
##412C901.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#20465A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412c90;
/* rgb */ color: rgb(65, 44, 144);
/* oklch */ color: oklch(38.3% 0.156 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e67b1',
    500: '#412c90',
    950: '#000000',
  },
}
SCSS
$custom: #412c90;
$custom-light: #7e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412c90",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 252.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.15588,
    "h": 286.1
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#412C90
secondary
#A5B761
accent
#DD4BBE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412C90

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

Preview Lab → · Contrast checker → · Palette generator →

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