#4B116E#4B116E

#4B116E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.149 H 308.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4B116E
RGBrgb(75, 17, 110)
HSLhsl(277, 73%, 25%)
HSVhsv(277, 85%, 43%)
CMYKcmyk(31.8%, 84.5%, 0%, 56.9%)
CIE-LABlab(20.13, 42.40, -41.04)
CIE-LCHlch(20.13, 59.01, 315.93°)
OKLaboklab(33.08% 0.092 -0.1167)
OKLCHoklch(33.08% 0.149 308.2)
XYZxyz(5.9160, 3.0226, 15.0206)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B116E #346E11
analogous
#1C116E #4B116E #6E1163
triadic
#4B116E #6E4B11 #116E4B
tetradic
#4B116E #6E1C11 #346E11 #11636E
square
#4B116E #6E1C11 #346E11 #11636E
split-complementary
#4B116E #636E11 #116E1C
monochromatic
#12041B #270939 #4B116E #6F19A3 #9321D8

Accessibility & contrast

On white

13.09
#4B116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B116E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B116E#FFFFFF#000000##FFFFFF
##4B116E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#452A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b116e;
/* rgb */ color: rgb(75, 17, 110);
/* oklch */ color: oklch(33.1% 0.149 308.2);
Tailwind
colors: {
  custom: {
    50: '#825898',
    500: '#4b116e',
    950: '#000000',
  },
}
SCSS
$custom: #4b116e;
$custom-light: #825898;
$custom-dark: #000000;
JSON
{
  "hex": "#4b116e",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 277.419,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.14856,
    "h": 308.2
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#4B116E
secondary
#60A535
accent
#F0387D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B116E

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

Preview Lab → · Contrast checker → · Palette generator →

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