#4B115A#4B115A

#4B115A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.129 H 318.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4B115A
RGBrgb(75, 17, 90)
HSLhsl(288, 68%, 21%)
HSVhsv(288, 81%, 35%)
CMYKcmyk(16.7%, 81.1%, 0%, 64.7%)
CIE-LABlab(18.52, 37.90, -30.47)
CIE-LCHlch(18.52, 48.63, 321.20°)
OKLaboklab(31.44% 0.0962 -0.0857)
OKLCHoklch(31.44% 0.129 318.3)
XYZxyz(4.9473, 2.6352, 9.9189)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B115A #205A11
analogous
#26115A #4B115A #5A1144
triadic
#4B115A #5A4B11 #115A4B
tetradic
#4B115A #5A2611 #205A11 #11445A
square
#4B115A #5A2611 #205A11 #11445A
split-complementary
#4B115A #445A11 #115A26
monochromatic
#15051A #200727 #4B115A #761B8D #A124C1

Accessibility & contrast

On white

13.75
#4B115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B115A
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B115A#FFFFFF#000000##FFFFFF
##4B115A1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#152F58
Tritanopia (blue-blind)
#4B2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b115a;
/* rgb */ color: rgb(75, 17, 90);
/* oklch */ color: oklch(31.4% 0.129 318.3);
Tailwind
colors: {
  custom: {
    50: '#805689',
    500: '#4b115a',
    950: '#000000',
  },
}
SCSS
$custom: #4b115a;
$custom-light: #805689;
$custom-dark: #000000;
JSON
{
  "hex": "#4b115a",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 287.671,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.12881,
    "h": 318.3
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#4B115A
secondary
#479334
accent
#EB3D61
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B115A

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

Preview Lab → · Contrast checker → · Palette generator →

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