#411752#411752

#411752 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.0% C 0.108 H 314.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#411752
RGBrgb(65, 23, 82)
HSLhsl(283, 56%, 21%)
HSVhsv(283, 72%, 32%)
CMYKcmyk(20.7%, 72%, 0%, 67.8%)
CIE-LABlab(17.21, 30.92, -27.28)
CIE-LCHlch(17.21, 41.23, 318.57°)
OKLaboklab(29.97% 0.0758 -0.0767)
OKLCHoklch(29.97% 0.108 314.7)
XYZxyz(4.0091, 2.3459, 8.2226)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411752 #285217
analogous
#231752 #411752 #521745
triadic
#411752 #524117 #175241
tetradic
#411752 #522317 #285217 #174552
square
#411752 #522317 #285217 #174552
split-complementary
#411752 #455217 #175223
monochromatic
#130718 #1B0A22 #411752 #672482 #8D32B2

Accessibility & contrast

On white

14.29
#411752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#411752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411752
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411752#FFFFFF#000000##FFFFFF
##4117521.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#152B51
Tritanopia (blue-blind)
#402232
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #411752;
/* rgb */ color: rgb(65, 23, 82);
/* oklch */ color: oklch(30.0% 0.108 314.7);
Tailwind
colors: {
  custom: {
    50: '#785883',
    500: '#411752',
    950: '#000000',
  },
}
SCSS
$custom: #411752;
$custom-light: #785883;
$custom-dark: #000000;
JSON
{
  "hex": "#411752",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 282.712,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.10786,
    "h": 314.7
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#411752
secondary
#52893C
accent
#DF4874
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #411752

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

Preview Lab → · Contrast checker → · Palette generator →

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