#412C7D#412C7D

#412C7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.131 H 290.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#412C7D
RGBrgb(65, 44, 125)
HSLhsl(256, 48%, 33%)
HSVhsv(256, 65%, 49%)
CMYKcmyk(48%, 64.8%, 0%, 51%)
CIE-LABlab(24.97, 30.79, -42.85)
CIE-LCHlch(24.97, 52.76, 305.70°)
OKLaboklab(36.63% 0.0456 -0.1225)
OKLCHoklch(36.63% 0.131 290.4)
XYZxyz(6.7813, 4.4056, 19.8911)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C7D #687D2C
analogous
#2C3F7D #412C7D #692C7D
triadic
#412C7D #7D412C #2C7D41
tetradic
#412C7D #7D2C3F #687D2C #2C7D69
square
#412C7D #7D2C3F #687D2C #2C7D69
split-complementary
#412C7D #7D692C #3F7D2C
monochromatic
#120C22 #291C50 #412C7D #593CAA #785DC6

Accessibility & contrast

On white

11.16
#412C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412C7D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C7D#FFFFFF#000000##FFFFFF
##412C7D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#2E3F50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412c7d;
/* rgb */ color: rgb(65, 44, 125);
/* oklch */ color: oklch(36.6% 0.131 290.4);
Tailwind
colors: {
  custom: {
    50: '#7b66a3',
    500: '#412c7d',
    950: '#000000',
  },
}
SCSS
$custom: #412c7d;
$custom-light: #7b66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#412c7d",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 255.556,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.13069,
    "h": 290.4
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#412C7D
secondary
#97AC59
accent
#D850B4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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