#4B1852#4B1852

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

Color values

HEX#4B1852
RGBrgb(75, 24, 82)
HSLhsl(293, 55%, 21%)
HSVhsv(293, 71%, 32%)
CMYKcmyk(8.5%, 70.7%, 0%, 67.8%)
CIE-LABlab(19.05, 33.11, -24.24)
CIE-LCHlch(19.05, 41.04, 323.78°)
OKLaboklab(31.64% 0.0885 -0.0675)
OKLCHoklch(31.64% 0.111 322.7)
XYZxyz(4.7511, 2.7586, 8.2632)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1852 #1F5218
analogous
#2E1852 #4B1852 #52183C
triadic
#4B1852 #524B18 #18524B
tetradic
#4B1852 #522E18 #1F5218 #183C52
square
#4B1852 #522E18 #1F5218 #183C52
split-complementary
#4B1852 #3C5218 #18522E
monochromatic
#160718 #200A23 #4B1852 #762681 #A234B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1852#FFFFFF#000000##FFFFFF
##4B18521.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)
#0A2A54
Deuteranopia (green-blind)
#203051
Tritanopia (blue-blind)
#4C2132
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1852;
/* rgb */ color: rgb(75, 24, 82);
/* oklch */ color: oklch(31.6% 0.111 322.7);
Tailwind
colors: {
  custom: {
    50: '#7f5983',
    500: '#4b1852',
    950: '#000000',
  },
}
SCSS
$custom: #4b1852;
$custom-light: #7f5983;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1852",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 292.759,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31641,
    "c": 0.1113,
    "h": 322.7
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#4B1852
secondary
#46893D
accent
#DE4A5C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4B1852

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

Preview Lab → · Contrast checker → · Palette generator →

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