#412C8A#412C8A

#412C8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.148 H 287.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#412C8A
RGBrgb(65, 44, 138)
HSLhsl(253, 52%, 36%)
HSVhsv(253, 68%, 54%)
CMYKcmyk(52.9%, 68.1%, 0%, 45.9%)
CIE-LABlab(26.04, 34.83, -49.26)
CIE-LCHlch(26.04, 60.33, 305.27°)
OKLaboklab(37.74% 0.0441 -0.1413)
OKLCHoklch(37.74% 0.148 287.3)
XYZxyz(7.6667, 4.7598, 24.5546)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C8A #758A2C
analogous
#2C468A #412C8A #702C8A
triadic
#412C8A #8A412C #2C8A41
tetradic
#412C8A #8A2C46 #758A2C #2C8A70
square
#412C8A #8A2C46 #758A2C #2C8A70
split-complementary
#412C8A #8A702C #468A2C
monochromatic
#150E2D #2B1D5C #412C8A #573BB8 #7B63CD

Accessibility & contrast

On white

10.76
#412C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#412C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C8A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C8A#FFFFFF#000000##FFFFFF
##412C8A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#264357
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412c8a;
/* rgb */ color: rgb(65, 44, 138);
/* oklch */ color: oklch(37.7% 0.148 287.3);
Tailwind
colors: {
  custom: {
    50: '#7d67ad',
    500: '#412c8a',
    950: '#000000',
  },
}
SCSS
$custom: #412c8a;
$custom-light: #7d67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#412c8a",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 253.404,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3774,
    "c": 0.14805,
    "h": 287.3
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#412C8A
secondary
#A1B45E
accent
#DB4DBB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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