#4B115C#4B115C

#4B115C is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.131 H 317.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#4B115C
RGBrgb(75, 17, 92)
HSLhsl(286, 69%, 21%)
HSVhsv(286, 82%, 36%)
CMYKcmyk(18.5%, 81.5%, 0%, 63.9%)
CIE-LABlab(18.67, 38.33, -31.57)
CIE-LCHlch(18.67, 49.66, 320.52°)
OKLaboklab(31.59% 0.0959 -0.0889)
OKLCHoklch(31.59% 0.131 317.2)
XYZxyz(5.0336, 2.6697, 10.3733)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B115C #225C11
analogous
#26115C #4B115C #5C1148
triadic
#4B115C #5C4B11 #115C4B
tetradic
#4B115C #5C2611 #225C11 #11485C
square
#4B115C #5C2611 #225C11 #11485C
split-complementary
#4B115C #485C11 #115C26
monochromatic
#15051A #210728 #4B115C #751B90 #9F24C3

Accessibility & contrast

On white

13.69
#4B115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B115C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B115C#FFFFFF#000000##FFFFFF
##4B115C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#122F5A
Tritanopia (blue-blind)
#4A2136
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b115c;
/* rgb */ color: rgb(75, 17, 92);
/* oklch */ color: oklch(31.6% 0.131 317.2);
Tailwind
colors: {
  custom: {
    50: '#80578b',
    500: '#4b115c',
    950: '#000000',
  },
}
SCSS
$custom: #4b115c;
$custom-light: #80578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b115c",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 286.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31593,
    "c": 0.13076,
    "h": 317.2
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#4B115C
secondary
#4A9534
accent
#EC3C64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B115C

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

Preview Lab → · Contrast checker → · Palette generator →

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