#4B155A#4B155A

#4B155A is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.124 H 317.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4B155A
RGBrgb(75, 21, 90)
HSLhsl(287, 62%, 22%)
HSVhsv(287, 77%, 35%)
CMYKcmyk(16.7%, 76.7%, 0%, 64.7%)
CIE-LABlab(19.10, 36.24, -29.54)
CIE-LCHlch(19.10, 46.75, 320.81°)
OKLaboklab(31.85% 0.0919 -0.0829)
OKLCHoklch(31.85% 0.124 317.9)
XYZxyz(5.0150, 2.7706, 9.9415)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B155A #245A15
analogous
#29155A #4B155A #5A1547
triadic
#4B155A #5A4B15 #155A4B
tetradic
#4B155A #5A2915 #245A15 #15475A
square
#4B155A #5A2915 #245A15 #15475A
split-complementary
#4B155A #475A15 #155A29
monochromatic
#150619 #220928 #4B155A #74218C #9E2CBD

Accessibility & contrast

On white

13.51
#4B155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4B155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B155A
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B155A#FFFFFF#000000##FFFFFF
##4B155A1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#183058
Tritanopia (blue-blind)
#4B2336
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b155a;
/* rgb */ color: rgb(75, 21, 90);
/* oklch */ color: oklch(31.9% 0.124 317.9);
Tailwind
colors: {
  custom: {
    50: '#805889',
    500: '#4b155a',
    950: '#000000',
  },
}
SCSS
$custom: #4b155a;
$custom-light: #805889;
$custom-dark: #000000;
JSON
{
  "hex": "#4b155a",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 286.957,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31852,
    "c": 0.12378,
    "h": 317.9
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#4B155A
secondary
#4C9239
accent
#E54366
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4B155A

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

Preview Lab → · Contrast checker → · Palette generator →

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