#412C71#412C71

#412C71 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.114 H 293.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#412C71
RGBrgb(65, 44, 113)
HSLhsl(258, 44%, 31%)
HSVhsv(258, 61%, 44%)
CMYKcmyk(42.5%, 61.1%, 0%, 55.7%)
CIE-LABlab(24.06, 27.10, -36.69)
CIE-LCHlch(24.06, 45.61, 306.45°)
OKLaboklab(35.67% 0.0461 -0.1044)
OKLCHoklch(35.67% 0.114 293.8)
XYZxyz(6.0605, 4.1173, 16.0950)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C71 #5C712C
analogous
#2C3971 #412C71 #632C71
triadic
#412C71 #71412C #2C7141
tetradic
#412C71 #712C39 #5C712C #2C7163
square
#412C71 #712C39 #5C712C #2C7163
split-complementary
#412C71 #71632C #39712C
monochromatic
#0E0A19 #281B45 #412C71 #5A3D9D #7859BE

Accessibility & contrast

On white

11.52
#412C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C71
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C71#FFFFFF#000000##FFFFFF
##412C711.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A73
Deuteranopia (green-blind)
#0B386F
Tritanopia (blue-blind)
#343B4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412c71;
/* rgb */ color: rgb(65, 44, 113);
/* oklch */ color: oklch(35.7% 0.114 293.8);
Tailwind
colors: {
  custom: {
    50: '#79669a',
    500: '#412c71',
    950: '#000000',
  },
}
SCSS
$custom: #412c71;
$custom-light: #79669a;
$custom-dark: #000000;
JSON
{
  "hex": "#412c71",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 258.261,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35672,
    "c": 0.11414,
    "h": 293.8
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#412C71
secondary
#8BA356
accent
#D454AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412C71

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

Preview Lab → · Contrast checker → · Palette generator →

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