#4B155D#4B155D

#4B155D is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.127 H 316.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4B155D
RGBrgb(75, 21, 93)
HSLhsl(285, 63%, 22%)
HSVhsv(285, 77%, 36%)
CMYKcmyk(19.4%, 77.4%, 0%, 63.5%)
CIE-LABlab(19.32, 36.91, -31.19)
CIE-LCHlch(19.32, 48.32, 319.80°)
OKLaboklab(32.08% 0.0916 -0.0878)
OKLCHoklch(32.08% 0.127 316.2)
XYZxyz(5.1453, 2.8227, 10.6276)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B155D #275D15
analogous
#27155D #4B155D #5D154B
triadic
#4B155D #5D4B15 #155D4B
tetradic
#4B155D #5D2715 #275D15 #154B5D
square
#4B155D #5D2715 #275D15 #154B5D
split-complementary
#4B155D #4B5D15 #155D27
monochromatic
#140619 #230A2B #4B155D #73208F #9C2CC1

Accessibility & contrast

On white

13.42
#4B155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B155D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B155D#FFFFFF#000000##FFFFFF
##4B155D1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#15305B
Tritanopia (blue-blind)
#4A2437
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b155d;
/* rgb */ color: rgb(75, 21, 93);
/* oklch */ color: oklch(32.1% 0.127 316.2);
Tailwind
colors: {
  custom: {
    50: '#80588b',
    500: '#4b155d',
    950: '#000000',
  },
}
SCSS
$custom: #4b155d;
$custom-light: #80588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b155d",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 285,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32078,
    "c": 0.12684,
    "h": 316.2
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#4B155D
secondary
#509439
accent
#E6426B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B155D

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

Preview Lab → · Contrast checker → · Palette generator →

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