#4A1550#4A1550

#4A1550 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.113 H 323.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4A1550
RGBrgb(74, 21, 80)
HSLhsl(294, 58%, 20%)
HSVhsv(294, 74%, 31%)
CMYKcmyk(7.5%, 73.7%, 0%, 68.6%)
CIE-LABlab(18.24, 33.83, -24.19)
CIE-LCHlch(18.24, 41.59, 324.44°)
OKLaboklab(30.98% 0.091 -0.0673)
OKLCHoklch(30.98% 0.113 323.5)
XYZxyz(4.5400, 2.5716, 7.8451)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1550 #1B5015
analogous
#2C1550 #4A1550 #501539
triadic
#4A1550 #504A15 #15504A
tetradic
#4A1550 #502C15 #1B5015 #153950
square
#4A1550 #502C15 #1B5015 #153950
split-complementary
#4A1550 #395015 #15502C
monochromatic
#160618 #1D0820 #4A1550 #772280 #A42EB1

Accessibility & contrast

On white

13.87
#4A1550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1550
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1550#FFFFFF#000000##FFFFFF
##4A15501.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062952
Deuteranopia (green-blind)
#1E2F4F
Tritanopia (blue-blind)
#4B1F30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a1550;
/* rgb */ color: rgb(74, 21, 80);
/* oklch */ color: oklch(31.0% 0.113 323.5);
Tailwind
colors: {
  custom: {
    50: '#7f5881',
    500: '#4a1550',
    950: '#000000',
  },
}
SCSS
$custom: #4a1550;
$custom-light: #7f5881;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1550",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 293.898,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.11323,
    "h": 323.5
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#4A1550
secondary
#418839
accent
#E24656
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A1550

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

Preview Lab → · Contrast checker → · Palette generator →

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