#411162#411162

#411162 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.133 H 306.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#411162
RGBrgb(65, 17, 98)
HSLhsl(276, 70%, 23%)
HSVhsv(276, 83%, 38%)
CMYKcmyk(33.7%, 82.7%, 0%, 61.6%)
CIE-LABlab(17.49, 37.65, -37.55)
CIE-LCHlch(17.49, 53.17, 315.08°)
OKLaboklab(30.58% 0.08 -0.1068)
OKLCHoklch(30.58% 0.133 306.8)
XYZxyz(4.5845, 2.4066, 11.7759)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411162 #326211
analogous
#191162 #411162 #62115A
triadic
#411162 #624111 #116241
tetradic
#411162 #621911 #326211 #115A62
square
#411162 #621911 #326211 #115A62
split-complementary
#411162 #5A6211 #116219
monochromatic
#11051A #1E082E #411162 #641A96 #8623CA

Accessibility & contrast

On white

14.18
#411162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411162
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411162#FFFFFF#000000##FFFFFF
##4111621.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#3B2639
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #411162;
/* rgb */ color: rgb(65, 17, 98);
/* oklch */ color: oklch(30.6% 0.133 306.8);
Tailwind
colors: {
  custom: {
    50: '#7a558f',
    500: '#411162',
    950: '#000000',
  },
}
SCSS
$custom: #411162;
$custom-light: #7a558f;
$custom-dark: #000000;
JSON
{
  "hex": "#411162",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 275.556,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30576,
    "c": 0.13342,
    "h": 306.8
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#411162
secondary
#5E9A34
accent
#ED3B83
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #411162

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

Preview Lab → · Contrast checker → · Palette generator →

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