#4B154B#4B154B

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

Color values

HEX#4B154B
RGBrgb(75, 21, 75)
HSLhsl(300, 56%, 19%)
HSVhsv(300, 72%, 29%)
CMYKcmyk(0%, 72%, 0%, 70.6%)
CIE-LABlab(18.10, 33.09, -20.99)
CIE-LCHlch(18.10, 39.18, 327.61°)
OKLaboklab(30.81% 0.0922 -0.058)
OKLCHoklch(30.81% 0.109 327.8)
XYZxyz(4.4398, 2.5405, 6.9118)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B154B #154B15
analogous
#30154B #4B154B #4B1530
triadic
#4B154B #4B4B15 #154B4B
tetradic
#4B154B #4B3015 #154B15 #15304B
square
#4B154B #4B3015 #154B15 #15304B
split-complementary
#4B154B #304B15 #154B30
monochromatic
#180718 #1B081B #4B154B #7B227B #AB30AB

Accessibility & contrast

On white

13.93
#4B154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B154B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B154B#FFFFFF#000000##FFFFFF
##4B154B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D284D
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#4D1C2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b154b;
/* rgb */ color: rgb(75, 21, 75);
/* oklch */ color: oklch(30.8% 0.109 327.8);
Tailwind
colors: {
  custom: {
    50: '#7f587d',
    500: '#4b154b',
    950: '#000000',
  },
}
SCSS
$custom: #4b154b;
$custom-light: #7f587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b154b",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 300,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30813,
    "c": 0.10894,
    "h": 327.8
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#4B154B
secondary
#398339
accent
#E04848
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B154B

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

Preview Lab → · Contrast checker → · Palette generator →

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