#411988#411988

#411988 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.167 H 291.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#411988
RGBrgb(65, 25, 136)
HSLhsl(262, 69%, 32%)
HSVhsv(262, 82%, 53%)
CMYKcmyk(52.2%, 81.6%, 0%, 46.7%)
CIE-LABlab(22.29, 44.25, -54.15)
CIE-LCHlch(22.29, 69.92, 309.25°)
OKLaboklab(35.03% 0.0614 -0.1556)
OKLCHoklch(35.03% 0.167 291.5)
XYZxyz(6.9703, 3.5964, 23.6147)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411988 #608819
analogous
#192888 #411988 #791988
triadic
#411988 #884119 #198841
tetradic
#411988 #881928 #608819 #198879
square
#411988 #881928 #608819 #198879
split-complementary
#411988 #887919 #288819
monochromatic
#100621 #280F54 #411988 #5A23BC #7840DC

Accessibility & contrast

On white

12.21
#411988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#411988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411988
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411988#FFFFFF#000000##FFFFFF
##4119881.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#283951
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411988;
/* rgb */ color: rgb(65, 25, 136);
/* oklch */ color: oklch(35.0% 0.167 291.5);
Tailwind
colors: {
  custom: {
    50: '#7e5bac',
    500: '#411988',
    950: '#000000',
  },
}
SCSS
$custom: #411988;
$custom-light: #7e5bac;
$custom-dark: #000000;
JSON
{
  "hex": "#411988",
  "rgb": {
    "r": 65,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 261.622,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.16727,
    "h": 291.5
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #411988

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

Preview Lab → · Contrast checker → · Palette generator →

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