#4D1652#4D1652

#4D1652 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.115 H 324.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4D1652
RGBrgb(77, 22, 82)
HSLhsl(295, 58%, 20%)
HSVhsv(295, 73%, 32%)
CMYKcmyk(6.1%, 73.2%, 0%, 67.8%)
CIE-LABlab(19.06, 34.59, -24.21)
CIE-LCHlch(19.06, 42.22, 325.01°)
OKLaboklab(31.72% 0.0937 -0.0673)
OKLCHoklch(31.72% 0.115 324.3)
XYZxyz(4.8703, 2.7611, 8.2574)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1652 #1B5216
analogous
#2F1652 #4D1652 #521639
triadic
#4D1652 #524D16 #16524D
tetradic
#4D1652 #522F16 #1B5216 #163952
square
#4D1652 #522F16 #1B5216 #163952
split-complementary
#4D1652 #395216 #16522F
monochromatic
#170618 #200922 #4D1652 #7A2382 #A830B3

Accessibility & contrast

On white

13.53
#4D1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1652
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1652#FFFFFF#000000##FFFFFF
##4D16521.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#4F2032
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1652;
/* rgb */ color: rgb(77, 22, 82);
/* oklch */ color: oklch(31.7% 0.115 324.3);
Tailwind
colors: {
  custom: {
    50: '#815983',
    500: '#4d1652',
    950: '#000000',
  },
}
SCSS
$custom: #4d1652;
$custom-light: #815983;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1652",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 295,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31718,
    "c": 0.1154,
    "h": 324.3
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#4D1652
secondary
#41893A
accent
#E14754
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4D1652

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

Preview Lab → · Contrast checker → · Palette generator →

#4D1652 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva