#412C85#412C85

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

Color values

HEX#412C85
RGBrgb(65, 44, 133)
HSLhsl(254, 50%, 35%)
HSVhsv(254, 67%, 52%)
CMYKcmyk(51.1%, 66.9%, 0%, 47.8%)
CIE-LABlab(25.62, 33.27, -46.82)
CIE-LCHlch(25.62, 57.44, 305.40°)
OKLaboklab(37.3% 0.0447 -0.1342)
OKLCHoklch(37.3% 0.141 288.4)
XYZxyz(7.3131, 4.6183, 22.6918)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C85 #70852C
analogous
#2C4485 #412C85 #6D2C85
triadic
#412C85 #85412C #2C8541
tetradic
#412C85 #852C44 #70852C #2C856D
square
#412C85 #852C44 #70852C #2C856D
split-complementary
#412C85 #856D2C #44852C
monochromatic
#140E29 #2B1D57 #412C85 #573BB3 #7A61CB

Accessibility & contrast

On white

10.92
#412C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C85
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C85#FFFFFF#000000##FFFFFF
##412C851.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#294254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412c85;
/* rgb */ color: rgb(65, 44, 133);
/* oklch */ color: oklch(37.3% 0.141 288.4);
Tailwind
colors: {
  custom: {
    50: '#7c66a9',
    500: '#412c85',
    950: '#000000',
  },
}
SCSS
$custom: #412c85;
$custom-light: #7c66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412c85",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 254.157,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.14145,
    "h": 288.4
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#412C85
secondary
#9DB15C
accent
#DA4EB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C85

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

Preview Lab → · Contrast checker → · Palette generator →

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