#411772#411772

#411772 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.144 H 299.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#411772
RGBrgb(65, 23, 114)
HSLhsl(268, 66%, 27%)
HSVhsv(268, 80%, 45%)
CMYKcmyk(43%, 79.8%, 0%, 55.3%)
CIE-LABlab(19.85, 39.14, -44.16)
CIE-LCHlch(19.85, 59.01, 311.55°)
OKLaboklab(32.68% 0.07 -0.1263)
OKLCHoklch(32.68% 0.144 299)
XYZxyz(5.5229, 2.9514, 16.1950)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411772 #487217
analogous
#171B72 #411772 #6F1772
triadic
#411772 #724117 #177241
tetradic
#411772 #72171B #487217 #17726F
square
#411772 #72171B #487217 #17726F
split-complementary
#411772 #726F17 #1B7217
monochromatic
#0F0519 #240D3F #411772 #5E21A5 #7B2ED5

Accessibility & contrast

On white

13.20
#411772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411772
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411772#FFFFFF#000000##FFFFFF
##4117721.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#352F44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #411772;
/* rgb */ color: rgb(65, 23, 114);
/* oklch */ color: oklch(32.7% 0.144 299.0);
Tailwind
colors: {
  custom: {
    50: '#7b599b',
    500: '#411772',
    950: '#000000',
  },
}
SCSS
$custom: #411772;
$custom-light: #7b599b;
$custom-dark: #000000;
JSON
{
  "hex": "#411772",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 267.692,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.14437,
    "h": 299
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#411772
secondary
#76A83D
accent
#E93E9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411772

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

Preview Lab → · Contrast checker → · Palette generator →

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