#4B115E#4B115E

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

Color values

HEX#4B115E
RGBrgb(75, 17, 94)
HSLhsl(285, 69%, 22%)
HSVhsv(285, 82%, 37%)
CMYKcmyk(20.2%, 81.9%, 0%, 63.1%)
CIE-LABlab(18.82, 38.77, -32.66)
CIE-LCHlch(18.82, 50.69, 319.89°)
OKLaboklab(31.75% 0.0956 -0.0921)
OKLCHoklch(31.75% 0.133 316.1)
XYZxyz(5.1222, 2.7051, 10.8398)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B115E #245E11
analogous
#25115E #4B115E #5E114B
triadic
#4B115E #5E4B11 #115E4B
tetradic
#4B115E #5E2511 #245E11 #114B5E
square
#4B115E #5E2511 #245E11 #114B5E
split-complementary
#4B115E #4B5E11 #115E25
monochromatic
#15051A #22082A #4B115E #741A92 #9E24C6

Accessibility & contrast

On white

13.63
#4B115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B115E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B115E#FFFFFF#000000##FFFFFF
##4B115E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#102F5C
Tritanopia (blue-blind)
#4A2237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b115e;
/* rgb */ color: rgb(75, 17, 94);
/* oklch */ color: oklch(31.7% 0.133 316.1);
Tailwind
colors: {
  custom: {
    50: '#80578c',
    500: '#4b115e',
    950: '#000000',
  },
}
SCSS
$custom: #4b115e;
$custom-light: #80578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b115e",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 285.195,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.13272,
    "h": 316.1
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#4B115E
secondary
#4C9734
accent
#EC3C67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B115E

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

Preview Lab → · Contrast checker → · Palette generator →

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