#412C8C#412C8C

#412C8C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.151 H 286.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#412C8C
RGBrgb(65, 44, 140)
HSLhsl(253, 52%, 36%)
HSVhsv(253, 69%, 55%)
CMYKcmyk(53.6%, 68.6%, 0%, 45.1%)
CIE-LABlab(26.21, 35.46, -50.22)
CIE-LCHlch(26.21, 61.48, 305.23°)
OKLaboklab(37.92% 0.0438 -0.1442)
OKLCHoklch(37.92% 0.151 286.9)
XYZxyz(7.8129, 4.8182, 25.3242)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C8C #778C2C
analogous
#2C478C #412C8C #712C8C
triadic
#412C8C #8C412C #2C8C41
tetradic
#412C8C #8C2C47 #778C2C #2C8C71
square
#412C8C #8C2C47 #778C2C #2C8C71
split-complementary
#412C8C #8C712C #478C2C
monochromatic
#160F2F #2B1D5D #412C8C #573BBB #7B64CE

Accessibility & contrast

On white

10.69
#412C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C8C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C8C#FFFFFF#000000##FFFFFF
##412C8C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#244458
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412c8c;
/* rgb */ color: rgb(65, 44, 140);
/* oklch */ color: oklch(37.9% 0.151 286.9);
Tailwind
colors: {
  custom: {
    50: '#7d67ae',
    500: '#412c8c',
    950: '#000000',
  },
}
SCSS
$custom: #412c8c;
$custom-light: #7d67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#412c8c",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 253.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37916,
    "c": 0.15068,
    "h": 286.9
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#412C8C
secondary
#A2B55F
accent
#DC4CBC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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