#4B154E#4B154E

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

Color values

HEX#4B154E
RGBrgb(75, 21, 78)
HSLhsl(297, 58%, 19%)
HSVhsv(297, 73%, 31%)
CMYKcmyk(3.8%, 73.1%, 0%, 69.4%)
CIE-LABlab(18.29, 33.69, -22.74)
CIE-LCHlch(18.29, 40.65, 325.98°)
OKLaboklab(31.01% 0.0923 -0.0631)
OKLCHoklch(31.01% 0.112 325.7)
XYZxyz(4.5449, 2.5825, 7.4653)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B154E #184E15
analogous
#2F154E #4B154E #4E1535
triadic
#4B154E #4E4B15 #154E4B
tetradic
#4B154E #4E2F15 #184E15 #15354E
square
#4B154E #4E2F15 #184E15 #15354E
split-complementary
#4B154E #354E15 #154E2F
monochromatic
#170618 #1D081E #4B154E #79227E #A82FAE

Accessibility & contrast

On white

13.85
#4B154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B154E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B154E#FFFFFF#000000##FFFFFF
##4B154E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#4D1E2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b154e;
/* rgb */ color: rgb(75, 21, 78);
/* oklch */ color: oklch(31.0% 0.112 325.7);
Tailwind
colors: {
  custom: {
    50: '#805880',
    500: '#4b154e',
    950: '#000000',
  },
}
SCSS
$custom: #4b154e;
$custom-light: #805880;
$custom-dark: #000000;
JSON
{
  "hex": "#4b154e",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 296.842,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31008,
    "c": 0.11183,
    "h": 325.7
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#4B154E
secondary
#3D8639
accent
#E1474F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B154E

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

Preview Lab → · Contrast checker → · Palette generator →

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