#411257#411257

#411257 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.120 H 312.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#411257
RGBrgb(65, 18, 87)
HSLhsl(281, 66%, 21%)
HSVhsv(281, 79%, 34%)
CMYKcmyk(25.3%, 79.3%, 0%, 65.9%)
CIE-LABlab(16.72, 34.54, -31.44)
CIE-LCHlch(16.72, 46.71, 317.69°)
OKLaboklab(29.75% 0.0813 -0.0889)
OKLCHoklch(29.75% 0.12 312.5)
XYZxyz(4.1163, 2.2447, 9.2314)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411257 #285712
analogous
#1F1257 #411257 #57124A
triadic
#411257 #574112 #125741
tetradic
#411257 #571F12 #285712 #124A57
square
#411257 #571F12 #285712 #124A57
split-complementary
#411257 #4A5712 #12571F
monochromatic
#130519 #1B0824 #411257 #671C8A #8D27BC

Accessibility & contrast

On white

14.49
#411257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#411257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411257
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411257#FFFFFF#000000##FFFFFF
##4112571.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#0A2A56
Tritanopia (blue-blind)
#3E2133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #411257;
/* rgb */ color: rgb(65, 18, 87);
/* oklch */ color: oklch(29.7% 0.120 312.5);
Tailwind
colors: {
  custom: {
    50: '#795587',
    500: '#411257',
    950: '#000000',
  },
}
SCSS
$custom: #411257;
$custom-light: #795587;
$custom-dark: #000000;
JSON
{
  "hex": "#411257",
  "rgb": {
    "r": 65,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 280.87,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29746,
    "c": 0.12047,
    "h": 312.5
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#411257
secondary
#529035
accent
#E93F75
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #411257

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

Preview Lab → · Contrast checker → · Palette generator →

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