#411F97#411F97

#411F97 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.179 H 287.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#411F97
RGBrgb(65, 31, 151)
HSLhsl(257, 66%, 36%)
HSVhsv(257, 79%, 59%)
CMYKcmyk(57%, 79.5%, 0%, 40.8%)
CIE-LABlab(24.76, 45.74, -59.40)
CIE-LCHlch(24.76, 74.97, 307.60°)
OKLaboklab(37.2% 0.0523 -0.171)
OKLCHoklch(37.2% 0.179 287)
XYZxyz(8.2542, 4.3377, 29.6745)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F97 #75971F
analogous
#1F3997 #411F97 #7D1F97
triadic
#411F97 #97411F #1F9741
tetradic
#411F97 #971F39 #75971F #1F977D
square
#411F97 #971F39 #75971F #1F977D
split-complementary
#411F97 #977D1F #39971F
monochromatic
#150A31 #2B1564 #411F97 #5729CA #7B54DC

Accessibility & contrast

On white

11.24
#411F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#411F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F97
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F97#FFFFFF#000000##FFFFFF
##411F971.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#19425B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #411f97;
/* rgb */ color: rgb(65, 31, 151);
/* oklch */ color: oklch(37.2% 0.179 287.0);
Tailwind
colors: {
  custom: {
    50: '#805fb7',
    500: '#411f97',
    950: '#000000',
  },
}
SCSS
$custom: #411f97;
$custom-light: #805fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#411f97",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 257,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37203,
    "c": 0.1788,
    "h": 287
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#411F97
secondary
#A1BF52
accent
#E93FB9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #411F97

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

Preview Lab → · Contrast checker → · Palette generator →

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