#412176#412176

#412176 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.137 H 295.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#412176
RGBrgb(65, 33, 118)
HSLhsl(263, 56%, 30%)
HSVhsv(263, 72%, 46%)
CMYKcmyk(44.9%, 72%, 0%, 53.7%)
CIE-LABlab(22.01, 35.15, -43.20)
CIE-LCHlch(22.01, 55.69, 309.14°)
OKLaboklab(34.32% 0.059 -0.1235)
OKLCHoklch(34.32% 0.137 295.5)
XYZxyz(5.9930, 3.5194, 17.4996)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412176 #567621
analogous
#212C76 #412176 #6C2176
triadic
#412176 #764121 #217641
tetradic
#412176 #76212C #567621 #21766C
square
#412176 #76212C #567621 #21766C
split-complementary
#412176 #766C21 #2C7621
monochromatic
#0D0718 #271446 #412176 #5B2EA6 #7846CB

Accessibility & contrast

On white

12.32
#412176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412176
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412176#FFFFFF#000000##FFFFFF
##4121761.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#333649
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412176;
/* rgb */ color: rgb(65, 33, 118);
/* oklch */ color: oklch(34.3% 0.137 295.5);
Tailwind
colors: {
  custom: {
    50: '#7b5f9e',
    500: '#412176',
    950: '#000000',
  },
}
SCSS
$custom: #412176;
$custom-light: #7b5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#412176",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 262.588,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.13687,
    "h": 295.5
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#412176
secondary
#85A94A
accent
#E048A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412176

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

Preview Lab → · Contrast checker → · Palette generator →

#412176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva