#41204E#41204E

#41204E is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.1% C 0.088 H 315.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#41204E
RGBrgb(65, 32, 78)
HSLhsl(283, 42%, 22%)
HSVhsv(283, 59%, 31%)
CMYKcmyk(16.7%, 59%, 0%, 69.4%)
CIE-LABlab(18.83, 24.82, -21.98)
CIE-LCHlch(18.83, 33.15, 318.46°)
OKLaboklab(31.07% 0.0625 -0.0613)
OKLCHoklch(31.07% 0.088 315.6)
XYZxyz(4.0714, 2.7070, 7.5143)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#41204E #2D4E20
analogous
#2A204E #41204E #4E2044
triadic
#41204E #4E4120 #204E41
tetradic
#41204E #4E2A20 #2D4E20 #20444E
square
#41204E #4E2A20 #2D4E20 #20444E
split-complementary
#41204E #444E20 #204E2A
monochromatic
#120916 #1D0E23 #41204E #653279 #8944A5

Accessibility & contrast

On white

13.62
#41204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#41204E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #41204E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##41204E#FFFFFF#000000##FFFFFF
##41204E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#402733
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #41204e;
/* rgb */ color: rgb(65, 32, 78);
/* oklch */ color: oklch(31.1% 0.088 315.6);
Tailwind
colors: {
  custom: {
    50: '#775d80',
    500: '#41204e',
    950: '#000000',
  },
}
SCSS
$custom: #41204e;
$custom-light: #775d80;
$custom-dark: #000000;
JSON
{
  "hex": "#41204e",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 283.043,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.08756,
    "h": 315.6
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#41204E
secondary
#588247
accent
#D25679
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #41204E

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

Preview Lab → · Contrast checker → · Palette generator →

#41204E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva