#411771#411771

#411771 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.143 H 299.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#411771
RGBrgb(65, 23, 113)
HSLhsl(268, 66%, 27%)
HSVhsv(268, 80%, 44%)
CMYKcmyk(42.5%, 79.6%, 0%, 55.7%)
CIE-LABlab(19.76, 38.88, -43.66)
CIE-LCHlch(19.76, 58.46, 311.68°)
OKLaboklab(32.58% 0.0703 -0.1248)
OKLCHoklch(32.58% 0.143 299.4)
XYZxyz(5.4663, 2.9288, 15.8969)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411771 #477117
analogous
#171A71 #411771 #6E1771
triadic
#411771 #714117 #177141
tetradic
#411771 #71171A #477117 #17716E
square
#411771 #71171A #477117 #17716E
split-complementary
#411771 #716E17 #1A7117
monochromatic
#0F0519 #240D3E #411771 #5E21A4 #7C2ED4

Accessibility & contrast

On white

13.24
#411771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#411771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411771
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411771#FFFFFF#000000##FFFFFF
##4117711.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#352F43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #411771;
/* rgb */ color: rgb(65, 23, 113);
/* oklch */ color: oklch(32.6% 0.143 299.4);
Tailwind
colors: {
  custom: {
    50: '#7b599b',
    500: '#411771',
    950: '#000000',
  },
}
SCSS
$custom: #411771;
$custom-light: #7b599b;
$custom-dark: #000000;
JSON
{
  "hex": "#411771",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 268,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.14323,
    "h": 299.4
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#411771
secondary
#75A73D
accent
#E93F9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411771

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

Preview Lab → · Contrast checker → · Palette generator →

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