#411161#411161

#411161 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.132 H 307.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#411161
RGBrgb(65, 17, 97)
HSLhsl(276, 70%, 22%)
HSVhsv(276, 82%, 38%)
CMYKcmyk(33%, 82.5%, 0%, 62%)
CIE-LABlab(17.40, 37.40, -37.03)
CIE-LCHlch(17.40, 52.63, 315.29°)
OKLaboklab(30.49% 0.0802 -0.1053)
OKLCHoklch(30.49% 0.132 307.3)
XYZxyz(4.5376, 2.3878, 11.5288)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411161 #316111
analogous
#191161 #411161 #611159
triadic
#411161 #614111 #116141
tetradic
#411161 #611911 #316111 #115961
square
#411161 #611911 #316111 #115961
split-complementary
#411161 #596111 #116119
monochromatic
#11051A #1E082D #411161 #641A95 #8723C9

Accessibility & contrast

On white

14.21
#411161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#411161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411161
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411161#FFFFFF#000000##FFFFFF
##4111611.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#3C2539
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #411161;
/* rgb */ color: rgb(65, 17, 97);
/* oklch */ color: oklch(30.5% 0.132 307.3);
Tailwind
colors: {
  custom: {
    50: '#7a558f',
    500: '#411161',
    950: '#000000',
  },
}
SCSS
$custom: #411161;
$custom-light: #7a558f;
$custom-dark: #000000;
JSON
{
  "hex": "#411161",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 276,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30488,
    "c": 0.13235,
    "h": 307.3
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#411161
secondary
#5D9934
accent
#ED3B82
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #411161

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

Preview Lab → · Contrast checker → · Palette generator →

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