#4A154D#4A154D

#4A154D is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.8% C 0.110 H 325.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4A154D
RGBrgb(74, 21, 77)
HSLhsl(297, 57%, 19%)
HSVhsv(297, 73%, 30%)
CMYKcmyk(3.9%, 72.7%, 0%, 69.8%)
CIE-LABlab(18.05, 33.21, -22.45)
CIE-LCHlch(18.05, 40.09, 325.94°)
OKLaboklab(30.78% 0.091 -0.0623)
OKLCHoklch(30.78% 0.11 325.6)
XYZxyz(4.4317, 2.5283, 7.2743)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A154D #184D15
analogous
#2E154D #4A154D #4D1534
triadic
#4A154D #4D4A15 #154D4A
tetradic
#4A154D #4D2E15 #184D15 #15344D
square
#4A154D #4D2E15 #184D15 #15344D
split-complementary
#4A154D #344D15 #154D2E
monochromatic
#170718 #1C081D #4A154D #78227D #A62FAD

Accessibility & contrast

On white

13.95
#4A154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A154D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A154D#FFFFFF#000000##FFFFFF
##4A154D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A284F
Deuteranopia (green-blind)
#202E4C
Tritanopia (blue-blind)
#4C1D2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4a154d;
/* rgb */ color: rgb(74, 21, 77);
/* oklch */ color: oklch(30.8% 0.110 325.6);
Tailwind
colors: {
  custom: {
    50: '#7f577f',
    500: '#4a154d',
    950: '#000000',
  },
}
SCSS
$custom: #4a154d;
$custom-light: #7f577f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a154d",
  "rgb": {
    "r": 74,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 296.786,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.11027,
    "h": 325.6
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#4A154D
secondary
#3D8539
accent
#E04750
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4A154D

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

Preview Lab → · Contrast checker → · Palette generator →

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