#411252#411252

#411252 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.115 H 315.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#411252
RGBrgb(65, 18, 82)
HSLhsl(284, 64%, 20%)
HSVhsv(284, 78%, 32%)
CMYKcmyk(20.7%, 78%, 0%, 67.8%)
CIE-LABlab(16.33, 33.36, -28.69)
CIE-LCHlch(16.33, 44.00, 319.31°)
OKLaboklab(29.35% 0.082 -0.0808)
OKLCHoklch(29.35% 0.115 315.4)
XYZxyz(3.9190, 2.1658, 8.1926)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411252 #235212
analogous
#211252 #411252 #521243
triadic
#411252 #524112 #125241
tetradic
#411252 #522112 #235212 #124352
square
#411252 #522112 #235212 #124352
split-complementary
#411252 #435212 #125221
monochromatic
#140619 #190720 #411252 #691D84 #9128B6

Accessibility & contrast

On white

14.65
#411252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#411252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411252
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411252#FFFFFF#000000##FFFFFF
##4112521.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#401F30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #411252;
/* rgb */ color: rgb(65, 18, 82);
/* oklch */ color: oklch(29.3% 0.115 315.4);
Tailwind
colors: {
  custom: {
    50: '#785583',
    500: '#411252',
    950: '#000000',
  },
}
SCSS
$custom: #411252;
$custom-light: #785583;
$custom-dark: #000000;
JSON
{
  "hex": "#411252",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 284.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29347,
    "c": 0.11513,
    "h": 315.4
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#411252
secondary
#4C8B35
accent
#E7416D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #411252

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

Preview Lab → · Contrast checker → · Palette generator →

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