#4B155F#4B155F

#4B155F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.129 H 315.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4B155F
RGBrgb(75, 21, 95)
HSLhsl(284, 64%, 23%)
HSVhsv(284, 78%, 37%)
CMYKcmyk(21.1%, 77.9%, 0%, 62.7%)
CIE-LABlab(19.47, 37.36, -32.28)
CIE-LCHlch(19.47, 49.37, 319.17°)
OKLaboklab(32.23% 0.0913 -0.091)
OKLCHoklch(32.23% 0.129 315.1)
XYZxyz(5.2350, 2.8586, 11.1003)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B155F #295F15
analogous
#26155F #4B155F #5F154E
triadic
#4B155F #5F4B15 #155F4B
tetradic
#4B155F #5F2615 #295F15 #154E5F
square
#4B155F #5F2615 #295F15 #154E5F
split-complementary
#4B155F #4E5F15 #155F26
monochromatic
#140619 #230A2D #4B155F #732091 #9A2BC3

Accessibility & contrast

On white

13.36
#4B155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4B155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B155F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B155F#FFFFFF#000000##FFFFFF
##4B155F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#12315D
Tritanopia (blue-blind)
#492539
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b155f;
/* rgb */ color: rgb(75, 21, 95);
/* oklch */ color: oklch(32.2% 0.129 315.1);
Tailwind
colors: {
  custom: {
    50: '#80588d',
    500: '#4b155f',
    950: '#000000',
  },
}
SCSS
$custom: #4b155f;
$custom-light: #80588d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b155f",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 283.784,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.1289,
    "h": 315.1
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#4B155F
secondary
#53963A
accent
#E7416E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B155F

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

Preview Lab → · Contrast checker → · Palette generator →

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