#411157#411157

#411157 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.122 H 312.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#411157
RGBrgb(65, 17, 87)
HSLhsl(281, 67%, 20%)
HSVhsv(281, 80%, 34%)
CMYKcmyk(25.3%, 80.5%, 0%, 65.9%)
CIE-LABlab(16.57, 34.98, -31.69)
CIE-LCHlch(16.57, 47.21, 317.82°)
OKLaboklab(29.64% 0.0824 -0.0896)
OKLCHoklch(29.64% 0.122 312.6)
XYZxyz(4.1004, 2.2130, 9.2261)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411157 #275711
analogous
#1E1157 #411157 #57114A
triadic
#411157 #574111 #115741
tetradic
#411157 #571E11 #275711 #114A57
square
#411157 #571E11 #275711 #114A57
split-complementary
#411157 #4A5711 #11571E
monochromatic
#13051A #1B0724 #411157 #671B8A #8D25BD

Accessibility & contrast

On white

14.56
#411157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#411157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411157
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411157#FFFFFF#000000##FFFFFF
##4111571.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#082A56
Tritanopia (blue-blind)
#3E2133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #411157;
/* rgb */ color: rgb(65, 17, 87);
/* oklch */ color: oklch(29.6% 0.122 312.6);
Tailwind
colors: {
  custom: {
    50: '#795587',
    500: '#411157',
    950: '#000000',
  },
}
SCSS
$custom: #411157;
$custom-light: #795587;
$custom-dark: #000000;
JSON
{
  "hex": "#411157",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 281.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.12174,
    "h": 312.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#411157
secondary
#519034
accent
#EA3E74
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #411157

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

Preview Lab → · Contrast checker → · Palette generator →

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