#412C80#412C80

#412C80 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.135 H 289.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#412C80
RGBrgb(65, 44, 128)
HSLhsl(255, 49%, 34%)
HSVhsv(255, 66%, 50%)
CMYKcmyk(49.2%, 65.6%, 0%, 49.8%)
CIE-LABlab(25.21, 31.72, -44.35)
CIE-LCHlch(25.21, 54.52, 305.57°)
OKLaboklab(36.88% 0.0453 -0.1269)
OKLCHoklch(36.88% 0.135 289.6)
XYZxyz(6.9758, 4.4834, 20.9157)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C80 #6B802C
analogous
#2C4180 #412C80 #6B2C80
triadic
#412C80 #80412C #2C8041
tetradic
#412C80 #802C41 #6B802C #2C806B
square
#412C80 #802C41 #6B802C #2C806B
split-complementary
#412C80 #806B2C #41802C
monochromatic
#130D25 #2A1C52 #412C80 #583CAE #795FC8

Accessibility & contrast

On white

11.07
#412C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C80
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C80#FFFFFF#000000##FFFFFF
##412C801.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#2D4051
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412c80;
/* rgb */ color: rgb(65, 44, 128);
/* oklch */ color: oklch(36.9% 0.135 289.6);
Tailwind
colors: {
  custom: {
    50: '#7b66a6',
    500: '#412c80',
    950: '#000000',
  },
}
SCSS
$custom: #412c80;
$custom-light: #7b66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412c80",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 255,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.13476,
    "h": 289.6
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#412C80
secondary
#99AE5A
accent
#D84FB6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412C80

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

Preview Lab → · Contrast checker → · Palette generator →

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