#411B8E#411B8E

#411B8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.172 H 289.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#411B8E
RGBrgb(65, 27, 142)
HSLhsl(260, 68%, 33%)
HSVhsv(260, 81%, 56%)
CMYKcmyk(54.2%, 81%, 0%, 44.3%)
CIE-LABlab(23.20, 45.03, -56.39)
CIE-LCHlch(23.20, 72.16, 308.61°)
OKLaboklab(35.85% 0.058 -0.1621)
OKLCHoklch(35.85% 0.172 289.7)
XYZxyz(7.4530, 3.8603, 25.9384)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411B8E #688E1B
analogous
#1B2E8E #411B8E #7A1B8E
triadic
#411B8E #8E411B #1B8E41
tetradic
#411B8E #8E1B2E #688E1B #1B8E7A
square
#411B8E #8E1B2E #688E1B #1B8E7A
split-complementary
#411B8E #8E7A1B #2E8E1B
monochromatic
#120727 #29115B #411B8E #5925C1 #7847DC

Accessibility & contrast

On white

11.85
#411B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#411B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411B8E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411B8E#FFFFFF#000000##FFFFFF
##411B8E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#233D55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #411b8e;
/* rgb */ color: rgb(65, 27, 142);
/* oklch */ color: oklch(35.8% 0.172 289.7);
Tailwind
colors: {
  custom: {
    50: '#7f5db0',
    500: '#411b8e',
    950: '#000000',
  },
}
SCSS
$custom: #411b8e;
$custom-light: #7f5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#411b8e",
  "rgb": {
    "r": 65,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 259.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35846,
    "c": 0.17221,
    "h": 289.7
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#411B8E
secondary
#97BE47
accent
#EB3DB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #411B8E

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

Preview Lab → · Contrast checker → · Palette generator →

#411B8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva