#4B116F#4B116F

#4B116F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.150 H 307.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4B116F
RGBrgb(75, 17, 111)
HSLhsl(277, 73%, 25%)
HSVhsv(277, 85%, 44%)
CMYKcmyk(32.4%, 84.7%, 0%, 56.5%)
CIE-LABlab(20.22, 42.64, -41.55)
CIE-LCHlch(20.22, 59.53, 315.74°)
OKLaboklab(33.17% 0.0917 -0.1182)
OKLCHoklch(33.17% 0.15 307.8)
XYZxyz(5.9707, 3.0445, 15.3090)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B116F #356F11
analogous
#1C116F #4B116F #6F1164
triadic
#4B116F #6F4B11 #116F4B
tetradic
#4B116F #6F1C11 #356F11 #11646F
square
#4B116F #6F1C11 #356F11 #11646F
split-complementary
#4B116F #646F11 #116F1C
monochromatic
#12041B #27093A #4B116F #6F19A4 #9321D9

Accessibility & contrast

On white

13.05
#4B116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B116F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B116F#FFFFFF#000000##FFFFFF
##4B116F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#452A41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b116f;
/* rgb */ color: rgb(75, 17, 111);
/* oklch */ color: oklch(33.2% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#825899',
    500: '#4b116f',
    950: '#000000',
  },
}
SCSS
$custom: #4b116f;
$custom-light: #825899;
$custom-dark: #000000;
JSON
{
  "hex": "#4b116f",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 277.021,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.14957,
    "h": 307.8
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#4B116F
secondary
#61A635
accent
#F0387E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B116F

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

Preview Lab → · Contrast checker → · Palette generator →

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