#411877#411877

#411877 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.149 H 297.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#411877
RGBrgb(65, 24, 119)
HSLhsl(266, 66%, 28%)
HSVhsv(266, 80%, 47%)
CMYKcmyk(45.4%, 79.8%, 0%, 53.3%)
CIE-LABlab(20.47, 40.03, -46.35)
CIE-LCHlch(20.47, 61.24, 310.82°)
OKLaboklab(33.26% 0.0676 -0.1327)
OKLCHoklch(33.26% 0.149 297)
XYZxyz(5.8355, 3.1089, 17.7418)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411877 #4E7718
analogous
#181E77 #411877 #701877
triadic
#411877 #774118 #187741
tetradic
#411877 #77181E #4E7718 #187770
square
#411877 #77181E #4E7718 #187770
split-complementary
#411877 #777018 #1E7718
monochromatic
#0E0519 #250E44 #411877 #5D22AA #7A33D6

Accessibility & contrast

On white

12.95
#411877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#411877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411877
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411877#FFFFFF#000000##FFFFFF
##4118771.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#333247
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #411877;
/* rgb */ color: rgb(65, 24, 119);
/* oklch */ color: oklch(33.3% 0.149 297.0);
Tailwind
colors: {
  custom: {
    50: '#7c5a9f',
    500: '#411877',
    950: '#000000',
  },
}
SCSS
$custom: #411877;
$custom-light: #7c5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#411877",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 265.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.14896,
    "h": 297
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#411877
secondary
#7DAC3F
accent
#E93EA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #411877

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

Preview Lab → · Contrast checker → · Palette generator →

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