#4A1352#4A1352

#4A1352 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.118 H 322.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4A1352
RGBrgb(74, 19, 82)
HSLhsl(292, 62%, 20%)
HSVhsv(292, 77%, 32%)
CMYKcmyk(9.8%, 76.8%, 0%, 67.8%)
CIE-LABlab(18.06, 35.14, -25.84)
CIE-LCHlch(18.06, 43.62, 323.68°)
OKLaboklab(30.89% 0.0934 -0.0721)
OKLCHoklch(30.89% 0.118 322.3)
XYZxyz(4.5797, 2.5310, 8.2283)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1352 #1B5213
analogous
#2B1352 #4A1352 #52133B
triadic
#4A1352 #524A13 #13524A
tetradic
#4A1352 #522B13 #1B5213 #133B52
square
#4A1352 #522B13 #1B5213 #133B52
split-complementary
#4A1352 #3B5213 #13522B
monochromatic
#160619 #1D0720 #4A1352 #771F84 #A42AB5

Accessibility & contrast

On white

13.94
#4A1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4A1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1352
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1352#FFFFFF#000000##FFFFFF
##4A13521.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#1C2E50
Tritanopia (blue-blind)
#4B1E31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a1352;
/* rgb */ color: rgb(74, 19, 82);
/* oklch */ color: oklch(30.9% 0.118 322.3);
Tailwind
colors: {
  custom: {
    50: '#7f5783',
    500: '#4a1352',
    950: '#000000',
  },
}
SCSS
$custom: #4a1352;
$custom-light: #7f5783;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1352",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 292.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30893,
    "c": 0.118,
    "h": 322.3
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#4A1352
secondary
#418A36
accent
#E54257
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1352

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

Preview Lab → · Contrast checker → · Palette generator →

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