#4A154B#4A154B

#4A154B is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.108 H 327.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4A154B
RGBrgb(74, 21, 75)
HSLhsl(299, 56%, 19%)
HSVhsv(299, 72%, 29%)
CMYKcmyk(1.3%, 72%, 0%, 70.6%)
CIE-LABlab(17.92, 32.80, -21.28)
CIE-LCHlch(17.92, 39.10, 327.02°)
OKLaboklab(30.65% 0.0909 -0.0589)
OKLCHoklch(30.65% 0.108 327.1)
XYZxyz(4.3621, 2.5005, 6.9081)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A154B #164B15
analogous
#2F154B #4A154B #4B1531
triadic
#4A154B #4B4A15 #154B4A
tetradic
#4A154B #4B2F15 #164B15 #15314B
square
#4A154B #4B2F15 #164B15 #15314B
split-complementary
#4A154B #314B15 #154B2F
monochromatic
#180718 #1B081B #4A154B #79227B #A830AB

Accessibility & contrast

On white

14.00
#4A154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4A154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A154B
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A154B#FFFFFF#000000##FFFFFF
##4A154B1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274D
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#4C1D2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a154b;
/* rgb */ color: rgb(74, 21, 75);
/* oklch */ color: oklch(30.6% 0.108 327.1);
Tailwind
colors: {
  custom: {
    50: '#7f577d',
    500: '#4a154b',
    950: '#000000',
  },
}
SCSS
$custom: #4a154b;
$custom-light: #7f577d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a154b",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 298.889,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30647,
    "c": 0.10833,
    "h": 327.1
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#4A154B
secondary
#3A8339
accent
#E0484B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4A154B

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

Preview Lab → · Contrast checker → · Palette generator →

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