#4B116C#4B116C

#4B116C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.147 H 309.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#4B116C
RGBrgb(75, 17, 108)
HSLhsl(278, 73%, 25%)
HSVhsv(278, 84%, 42%)
CMYKcmyk(30.6%, 84.3%, 0%, 57.6%)
CIE-LABlab(19.96, 41.93, -40.02)
CIE-LCHlch(19.96, 57.97, 316.34°)
OKLaboklab(32.91% 0.0925 -0.1137)
OKLCHoklch(32.91% 0.147 309.1)
XYZxyz(5.8083, 2.9796, 14.4536)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B116C #326C11
analogous
#1E116C #4B116C #6C1160
triadic
#4B116C #6C4B11 #116C4B
tetradic
#4B116C #6C1E11 #326C11 #11606C
square
#4B116C #6C1E11 #326C11 #11606C
split-complementary
#4B116C #606C11 #116C1E
monochromatic
#12041A #260937 #4B116C #7019A1 #9422D6

Accessibility & contrast

On white

13.16
#4B116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4B116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B116C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B116C#FFFFFF#000000##FFFFFF
##4B116C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#46293F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4b116c;
/* rgb */ color: rgb(75, 17, 108);
/* oklch */ color: oklch(32.9% 0.147 309.1);
Tailwind
colors: {
  custom: {
    50: '#815797',
    500: '#4b116c',
    950: '#000000',
  },
}
SCSS
$custom: #4b116c;
$custom-light: #815797;
$custom-dark: #000000;
JSON
{
  "hex": "#4b116c",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 278.242,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32908,
    "c": 0.14657,
    "h": 309.1
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#4B116C
secondary
#5DA435
accent
#EF387B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B116C

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

Preview Lab → · Contrast checker → · Palette generator →

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