#4B108D#4B108D

#4B108D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.180 H 296.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#4B108D
RGBrgb(75, 16, 141)
HSLhsl(268, 80%, 31%)
HSVhsv(268, 89%, 55%)
CMYKcmyk(46.8%, 88.7%, 0%, 44.7%)
CIE-LABlab(22.96, 50.20, -56.12)
CIE-LCHlch(22.96, 75.30, 311.82°)
OKLaboklab(35.93% 0.0816 -0.1609)
OKLCHoklch(35.93% 0.18 296.9)
XYZxyz(7.8934, 3.7893, 25.5097)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B108D #528D10
analogous
#10138D #4B108D #89108D
triadic
#4B108D #8D4B10 #108D4B
tetradic
#4B108D #8D1013 #528D10 #108D89
square
#4B108D #8D1013 #528D10 #108D89
split-complementary
#4B108D #8D8910 #138D10
monochromatic
#11041F #2E0A56 #4B108D #6816C4 #8730E7

Accessibility & contrast

On white

11.95
#4B108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4B108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B108D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B108D#FFFFFF#000000##FFFFFF
##4B108D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#393752
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4b108d;
/* rgb */ color: rgb(75, 16, 141);
/* oklch */ color: oklch(35.9% 0.180 296.9);
Tailwind
colors: {
  custom: {
    50: '#8559af',
    500: '#4b108d',
    950: '#000000',
  },
}
SCSS
$custom: #4b108d;
$custom-light: #8559af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b108d",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 268.32,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.18044,
    "h": 296.9
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#4B108D
secondary
#80C237
accent
#F63299
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4B108D

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

Preview Lab → · Contrast checker → · Palette generator →

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