#411872#411872

#411872 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.143 H 298.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#411872
RGBrgb(65, 24, 114)
HSLhsl(267, 65%, 27%)
HSVhsv(267, 79%, 45%)
CMYKcmyk(43%, 78.9%, 0%, 55.3%)
CIE-LABlab(20.01, 38.68, -43.89)
CIE-LCHlch(20.01, 58.50, 311.39°)
OKLaboklab(32.79% 0.069 -0.1255)
OKLCHoklch(32.79% 0.143 298.8)
XYZxyz(5.5431, 2.9919, 16.2018)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411872 #497218
analogous
#181C72 #411872 #6E1872
triadic
#411872 #724118 #187241
tetradic
#411872 #72181C #497218 #18726E
square
#411872 #72181C #497218 #18726E
split-complementary
#411872 #726E18 #1C7218
monochromatic
#0E0519 #240D3F #411872 #5E23A5 #7B31D4

Accessibility & contrast

On white

13.14
#411872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#411872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411872
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411872#FFFFFF#000000##FFFFFF
##4118721.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #411872;
/* rgb */ color: rgb(65, 24, 114);
/* oklch */ color: oklch(32.8% 0.143 298.8);
Tailwind
colors: {
  custom: {
    50: '#7b5a9b',
    500: '#411872',
    950: '#000000',
  },
}
SCSS
$custom: #411872;
$custom-light: #7b5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#411872",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 267.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3279,
    "c": 0.14324,
    "h": 298.8
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#411872
secondary
#78A73E
accent
#E8409B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411872

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

Preview Lab → · Contrast checker → · Palette generator →

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