#4B105D#4B105D

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

Color values

HEX#4B105D
RGBrgb(75, 16, 93)
HSLhsl(286, 71%, 21%)
HSVhsv(286, 83%, 36%)
CMYKcmyk(19.4%, 82.8%, 0%, 63.5%)
CIE-LABlab(18.61, 38.92, -32.33)
CIE-LCHlch(18.61, 50.60, 320.29°)
OKLaboklab(31.58% 0.0967 -0.0911)
OKLCHoklch(31.58% 0.133 316.7)
XYZxyz(5.0624, 2.6570, 10.6000)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105D #225D10
analogous
#25105D #4B105D #5D1049
triadic
#4B105D #5D4B10 #105D4B
tetradic
#4B105D #5D2510 #225D10 #10495D
square
#4B105D #5D2510 #225D10 #10495D
split-complementary
#4B105D #495D10 #105D25
monochromatic
#15041A #210729 #4B105D #751991 #9F22C5

Accessibility & contrast

On white

13.71
#4B105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B105D
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105D#FFFFFF#000000##FFFFFF
##4B105D1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#4A2136
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b105d;
/* rgb */ color: rgb(75, 16, 93);
/* oklch */ color: oklch(31.6% 0.133 316.7);
Tailwind
colors: {
  custom: {
    50: '#80568b',
    500: '#4b105d',
    950: '#000000',
  },
}
SCSS
$custom: #4b105d;
$custom-light: #80568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105d",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 285.974,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31578,
    "c": 0.13285,
    "h": 316.7
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#4B105D
secondary
#4A9633
accent
#ED3A64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B105D

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

Preview Lab → · Contrast checker → · Palette generator →

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