#411871#411871

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

Color values

HEX#411871
RGBrgb(65, 24, 113)
HSLhsl(268, 65%, 27%)
HSVhsv(268, 79%, 44%)
CMYKcmyk(42.5%, 78.8%, 0%, 55.7%)
CIE-LABlab(19.92, 38.41, -43.40)
CIE-LCHlch(19.92, 57.95, 311.51°)
OKLaboklab(32.7% 0.0693 -0.124)
OKLCHoklch(32.7% 0.142 299.2)
XYZxyz(5.4865, 2.9693, 15.9037)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411871 #487118
analogous
#181C71 #411871 #6E1871
triadic
#411871 #714118 #187141
tetradic
#411871 #71181C #487118 #18716E
square
#411871 #71181C #487118 #18716E
split-complementary
#411871 #716E18 #1C7118
monochromatic
#0F0519 #240D3F #411871 #5E23A3 #7B30D3

Accessibility & contrast

On white

13.18
#411871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411871
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411871#FFFFFF#000000##FFFFFF
##4118711.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.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: #411871;
/* rgb */ color: rgb(65, 24, 113);
/* oklch */ color: oklch(32.7% 0.142 299.2);
Tailwind
colors: {
  custom: {
    50: '#7b5a9b',
    500: '#411871',
    950: '#000000',
  },
}
SCSS
$custom: #411871;
$custom-light: #7b5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#411871",
  "rgb": {
    "r": 65,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 267.64,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32698,
    "c": 0.14209,
    "h": 299.2
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#411871
secondary
#76A63E
accent
#E8409B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #411871

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

Preview Lab → · Contrast checker → · Palette generator →

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