#412C83#412C83

#412C83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.139 H 288.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#412C83
RGBrgb(65, 44, 131)
HSLhsl(254, 50%, 34%)
HSVhsv(254, 66%, 51%)
CMYKcmyk(50.4%, 66.4%, 0%, 48.6%)
CIE-LABlab(25.45, 32.65, -45.84)
CIE-LCHlch(25.45, 56.28, 305.46°)
OKLaboklab(37.13% 0.045 -0.1313)
OKLCHoklch(37.13% 0.139 288.9)
XYZxyz(7.1762, 4.5636, 21.9711)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C83 #6E832C
analogous
#2C4383 #412C83 #6D2C83
triadic
#412C83 #83412C #2C8341
tetradic
#412C83 #832C43 #6E832C #2C836D
square
#412C83 #832C43 #6E832C #2C836D
split-complementary
#412C83 #836D2C #43832C
monochromatic
#140D27 #2A1D55 #412C83 #583BB1 #7960CA

Accessibility & contrast

On white

10.98
#412C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C83
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C83#FFFFFF#000000##FFFFFF
##412C831.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#2B4153
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412c83;
/* rgb */ color: rgb(65, 44, 131);
/* oklch */ color: oklch(37.1% 0.139 288.9);
Tailwind
colors: {
  custom: {
    50: '#7c66a8',
    500: '#412c83',
    950: '#000000',
  },
}
SCSS
$custom: #412c83;
$custom-light: #7c66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412c83",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 254.483,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.13879,
    "h": 288.9
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#412C83
secondary
#9BB05B
accent
#D94FB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C83

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

Preview Lab → · Contrast checker → · Palette generator →

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