#412D80#412D80

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

Color values

HEX#412D80
RGBrgb(65, 45, 128)
HSLhsl(254, 48%, 34%)
HSVhsv(254, 65%, 50%)
CMYKcmyk(49.2%, 64.8%, 0%, 49.8%)
CIE-LABlab(25.44, 31.10, -43.98)
CIE-LCHlch(25.44, 53.86, 305.27°)
OKLaboklab(37.05% 0.0441 -0.1258)
OKLCHoklch(37.05% 0.133 289.3)
XYZxyz(7.0135, 4.5588, 20.9283)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D80 #6C802D
analogous
#2D4380 #412D80 #6B2D80
triadic
#412D80 #80412D #2D8041
tetradic
#412D80 #802D43 #6C802D #2D806B
square
#412D80 #802D43 #6C802D #2D806B
split-complementary
#412D80 #806B2D #43802D
monochromatic
#130D25 #2A1D53 #412D80 #583DAD #7960C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412D80#FFFFFF#000000##FFFFFF
##412D801.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)
#003E83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#2D4152
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412d80;
/* rgb */ color: rgb(65, 45, 128);
/* oklch */ color: oklch(37.0% 0.133 289.3);
Tailwind
colors: {
  custom: {
    50: '#7b67a5',
    500: '#412d80',
    950: '#000000',
  },
}
SCSS
$custom: #412d80;
$custom-light: #7b67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#412d80",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 254.458,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37046,
    "c": 0.13334,
    "h": 289.3
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#412D80
secondary
#9AAE5B
accent
#D850B7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412D80

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

Preview Lab → · Contrast checker → · Palette generator →

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