#411151#411151

#411151 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.115 H 316.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#411151
RGBrgb(65, 17, 81)
HSLhsl(285, 65%, 19%)
HSVhsv(285, 79%, 32%)
CMYKcmyk(19.8%, 79%, 0%, 68.2%)
CIE-LABlab(16.10, 33.59, -28.38)
CIE-LCHlch(16.10, 43.97, 319.80°)
OKLaboklab(29.16% 0.0833 -0.0799)
OKLCHoklch(29.16% 0.115 316.2)
XYZxyz(3.8654, 2.1189, 7.9884)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411151 #215111
analogous
#211151 #411151 #511141
triadic
#411151 #514111 #115141
tetradic
#411151 #512111 #215111 #114151
square
#411151 #512111 #215111 #114151
split-complementary
#411151 #415111 #115121
monochromatic
#140519 #18061E #411151 #6A1C84 #9226B6

Accessibility & contrast

On white

14.75
#411151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#411151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411151
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411151#FFFFFF#000000##FFFFFF
##4111511.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#112950
Tritanopia (blue-blind)
#401E30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #411151;
/* rgb */ color: rgb(65, 17, 81);
/* oklch */ color: oklch(29.2% 0.115 316.2);
Tailwind
colors: {
  custom: {
    50: '#785482',
    500: '#411151',
    950: '#000000',
  },
}
SCSS
$custom: #411151;
$custom-light: #785482;
$custom-dark: #000000;
JSON
{
  "hex": "#411151",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 285,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29156,
    "c": 0.11543,
    "h": 316.2
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#411151
secondary
#498A34
accent
#E8406A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #411151

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

Preview Lab → · Contrast checker → · Palette generator →

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