#4B135B#4B135B

#4B135B is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.127 H 317.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4B135B
RGBrgb(75, 19, 91)
HSLhsl(287, 65%, 22%)
HSVhsv(287, 79%, 36%)
CMYKcmyk(17.6%, 79.1%, 0%, 64.3%)
CIE-LABlab(18.87, 37.31, -30.57)
CIE-LCHlch(18.87, 48.24, 320.67°)
OKLaboklab(31.71% 0.094 -0.086)
OKLCHoklch(31.71% 0.127 317.6)
XYZxyz(5.0226, 2.7172, 10.1554)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B135B #235B13
analogous
#27135B #4B135B #5B1347
triadic
#4B135B #5B4B13 #135B4B
tetradic
#4B135B #5B2713 #235B13 #13475B
square
#4B135B #5B2713 #235B13 #13475B
split-complementary
#4B135B #475B13 #135B27
monochromatic
#150519 #210828 #4B135B #751E8E #9E28C0

Accessibility & contrast

On white

13.61
#4B135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B135B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B135B#FFFFFF#000000##FFFFFF
##4B135B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#153059
Tritanopia (blue-blind)
#4A2236
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b135b;
/* rgb */ color: rgb(75, 19, 91);
/* oklch */ color: oklch(31.7% 0.127 317.6);
Tailwind
colors: {
  custom: {
    50: '#80578a',
    500: '#4b135b',
    950: '#000000',
  },
}
SCSS
$custom: #4b135b;
$custom-light: #80578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b135b",
  "rgb": {
    "r": 75,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 286.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.12737,
    "h": 317.6
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#4B135B
secondary
#4B9337
accent
#E83F65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #4B135B

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

Preview Lab → · Contrast checker → · Palette generator →

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