#411158#411158

#411158 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.123 H 312.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#411158
RGBrgb(65, 17, 88)
HSLhsl(281, 68%, 21%)
HSVhsv(281, 81%, 35%)
CMYKcmyk(26.1%, 80.7%, 0%, 65.5%)
CIE-LABlab(16.65, 35.22, -32.24)
CIE-LCHlch(16.65, 47.75, 317.53°)
OKLaboklab(29.72% 0.0822 -0.0912)
OKLCHoklch(29.72% 0.123 312)
XYZxyz(4.1415, 2.2294, 9.4428)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411158 #285811
analogous
#1D1158 #411158 #58114B
triadic
#411158 #584111 #115841
tetradic
#411158 #581D11 #285811 #114B58
square
#411158 #581D11 #285811 #114B58
split-complementary
#411158 #4B5811 #11581D
monochromatic
#13051A #1B0725 #411158 #671B8B #8D25BF

Accessibility & contrast

On white

14.52
#411158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#411158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411158
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411158#FFFFFF#000000##FFFFFF
##4111581.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#072A56
Tritanopia (blue-blind)
#3E2134
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #411158;
/* rgb */ color: rgb(65, 17, 88);
/* oklch */ color: oklch(29.7% 0.123 312.0);
Tailwind
colors: {
  custom: {
    50: '#795588',
    500: '#411158',
    950: '#000000',
  },
}
SCSS
$custom: #411158;
$custom-light: #795588;
$custom-dark: #000000;
JSON
{
  "hex": "#411158",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 280.563,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29718,
    "c": 0.12279,
    "h": 312
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#411158
secondary
#529134
accent
#EA3D75
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #411158

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

Preview Lab → · Contrast checker → · Palette generator →

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