#412C8D#412C8D

#412C8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.152 H 286.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#412C8D
RGBrgb(65, 44, 141)
HSLhsl(253, 52%, 36%)
HSVhsv(253, 69%, 55%)
CMYKcmyk(53.9%, 68.8%, 0%, 44.7%)
CIE-LABlab(26.30, 35.77, -50.70)
CIE-LCHlch(26.30, 62.05, 305.21°)
OKLaboklab(38.01% 0.0437 -0.1456)
OKLCHoklch(38.01% 0.152 286.7)
XYZxyz(7.8869, 4.8479, 25.7143)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C8D #788D2C
analogous
#2C488D #412C8D #722C8D
triadic
#412C8D #8D412C #2C8D41
tetradic
#412C8D #8D2C48 #788D2C #2C8D72
square
#412C8D #8D2C48 #788D2C #2C8D72
split-complementary
#412C8D #8D722C #488D2C
monochromatic
#160F30 #2B1D5E #412C8D #573BBC #7C65CF

Accessibility & contrast

On white

10.66
#412C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C8D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C8D#FFFFFF#000000##FFFFFF
##412C8D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#234458
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412c8d;
/* rgb */ color: rgb(65, 44, 141);
/* oklch */ color: oklch(38.0% 0.152 286.7);
Tailwind
colors: {
  custom: {
    50: '#7d67af',
    500: '#412c8d',
    950: '#000000',
  },
}
SCSS
$custom: #412c8d;
$custom-light: #7d67af;
$custom-dark: #000000;
JSON
{
  "hex": "#412c8d",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 252.99,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38005,
    "c": 0.15198,
    "h": 286.7
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#412C8D
secondary
#A3B560
accent
#DC4CBD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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