#4B115D#4B115D

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

Color values

HEX#4B115D
RGBrgb(75, 17, 93)
HSLhsl(286, 69%, 22%)
HSVhsv(286, 82%, 36%)
CMYKcmyk(19.4%, 81.7%, 0%, 63.5%)
CIE-LABlab(18.75, 38.55, -32.11)
CIE-LCHlch(18.75, 50.17, 320.20°)
OKLaboklab(31.67% 0.0958 -0.0905)
OKLCHoklch(31.67% 0.132 316.6)
XYZxyz(5.0776, 2.6873, 10.6050)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B115D #235D11
analogous
#25115D #4B115D #5D1149
triadic
#4B115D #5D4B11 #115D4B
tetradic
#4B115D #5D2511 #235D11 #11495D
square
#4B115D #5D2511 #235D11 #11495D
split-complementary
#4B115D #495D11 #115D25
monochromatic
#15051A #210829 #4B115D #751A91 #9E24C4

Accessibility & contrast

On white

13.66
#4B115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B115D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B115D#FFFFFF#000000##FFFFFF
##4B115D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#4A2236
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b115d;
/* rgb */ color: rgb(75, 17, 93);
/* oklch */ color: oklch(31.7% 0.132 316.6);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4b115d',
    950: '#000000',
  },
}
SCSS
$custom: #4b115d;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b115d",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 285.789,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.13174,
    "h": 316.6
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#4B115D
secondary
#4B9634
accent
#EC3C66
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B115D

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

Preview Lab → · Contrast checker → · Palette generator →

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