#411987#411987

#411987 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.166 H 291.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#411987
RGBrgb(65, 25, 135)
HSLhsl(262, 69%, 31%)
HSVhsv(262, 81%, 53%)
CMYKcmyk(51.9%, 81.5%, 0%, 47.1%)
CIE-LABlab(22.19, 43.97, -53.68)
CIE-LCHlch(22.19, 69.39, 309.32°)
OKLaboklab(34.93% 0.0618 -0.1542)
OKLCHoklch(34.93% 0.166 291.8)
XYZxyz(6.8995, 3.5681, 23.2421)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411987 #5F8719
analogous
#192887 #411987 #781987
triadic
#411987 #874119 #198741
tetradic
#411987 #871928 #5F8719 #198778
square
#411987 #871928 #5F8719 #198778
split-complementary
#411987 #877819 #288719
monochromatic
#0F0620 #280F53 #411987 #5A23BB #783FDB

Accessibility & contrast

On white

12.25
#411987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#411987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411987
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411987#FFFFFF#000000##FFFFFF
##4119871.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#293950
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411987;
/* rgb */ color: rgb(65, 25, 135);
/* oklch */ color: oklch(34.9% 0.166 291.8);
Tailwind
colors: {
  custom: {
    50: '#7e5bab',
    500: '#411987',
    950: '#000000',
  },
}
SCSS
$custom: #411987;
$custom-light: #7e5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#411987",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 261.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34928,
    "c": 0.16613,
    "h": 291.8
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#411987
secondary
#8EBA41
accent
#EC3CAC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #411987

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

Preview Lab → · Contrast checker → · Palette generator →

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