#412C7C#412C7C

#412C7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.5% C 0.129 H 290.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#412C7C
RGBrgb(65, 44, 124)
HSLhsl(256, 48%, 33%)
HSVhsv(256, 65%, 49%)
CMYKcmyk(47.6%, 64.5%, 0%, 51.4%)
CIE-LABlab(24.89, 30.47, -42.34)
CIE-LCHlch(24.89, 52.17, 305.74°)
OKLaboklab(36.55% 0.0456 -0.121)
OKLCHoklch(36.55% 0.129 290.7)
XYZxyz(6.7177, 4.3802, 19.5564)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C7C #677C2C
analogous
#2C3F7C #412C7C #692C7C
triadic
#412C7C #7C412C #2C7C41
tetradic
#412C7C #7C2C3F #677C2C #2C7C69
square
#412C7C #7C2C3F #677C2C #2C7C69
split-complementary
#412C7C #7C692C #3F7C2C
monochromatic
#120C22 #291C4F #412C7C #593CA9 #785DC5

Accessibility & contrast

On white

11.19
#412C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C7C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C7C#FFFFFF#000000##FFFFFF
##412C7C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#2F3F4F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412c7c;
/* rgb */ color: rgb(65, 44, 124);
/* oklch */ color: oklch(36.5% 0.129 290.7);
Tailwind
colors: {
  custom: {
    50: '#7b66a3',
    500: '#412c7c',
    950: '#000000',
  },
}
SCSS
$custom: #412c7c;
$custom-light: #7b66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#412c7c",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 255.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36547,
    "c": 0.12934,
    "h": 290.7
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#412C7C
secondary
#96AC58
accent
#D751B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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