#412D83#412D83

#412D83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.137 H 288.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#412D83
RGBrgb(65, 45, 131)
HSLhsl(254, 49%, 35%)
HSVhsv(254, 66%, 51%)
CMYKcmyk(50.4%, 65.6%, 0%, 48.6%)
CIE-LABlab(25.68, 32.04, -45.47)
CIE-LCHlch(25.68, 55.62, 305.17°)
OKLaboklab(37.3% 0.0439 -0.1302)
OKLCHoklch(37.3% 0.137 288.6)
XYZxyz(7.2139, 4.6390, 21.9836)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D83 #6F832D
analogous
#2D4483 #412D83 #6C2D83
triadic
#412D83 #83412D #2D8341
tetradic
#412D83 #832D44 #6F832D #2D836C
square
#412D83 #832D44 #6F832D #2D836C
split-complementary
#412D83 #836C2D #44832D
monochromatic
#140E28 #2A1D55 #412D83 #583DB1 #7A62C9

Accessibility & contrast

On white

10.89
#412D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D83
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D83#FFFFFF#000000##FFFFFF
##412D831.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#2B4253
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412d83;
/* rgb */ color: rgb(65, 45, 131);
/* oklch */ color: oklch(37.3% 0.137 288.6);
Tailwind
colors: {
  custom: {
    50: '#7c67a8',
    500: '#412d83',
    950: '#000000',
  },
}
SCSS
$custom: #412d83;
$custom-light: #7c67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412d83",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 253.953,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37298,
    "c": 0.1374,
    "h": 288.6
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#412D83
secondary
#9CAF5C
accent
#D84FB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412D83

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

Preview Lab → · Contrast checker → · Palette generator →

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