#4B0E48#4B0E48

#4B0E48 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.116 H 330.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4B0E48
RGBrgb(75, 14, 72)
HSLhsl(303, 69%, 17%)
HSVhsv(303, 81%, 29%)
CMYKcmyk(0%, 81.3%, 4%, 70.6%)
CIE-LABlab(16.88, 35.43, -20.85)
CIE-LCHlch(16.88, 41.11, 329.52°)
OKLaboklab(29.88% 0.1004 -0.0575)
OKLCHoklch(29.88% 0.116 330.2)
XYZxyz(4.2284, 2.2781, 6.3467)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0E48 #0E4B11
analogous
#300E4B #4B0E48 #4B0E29
triadic
#4B0E48 #484B0E #0E484B
tetradic
#4B0E48 #4B300E #0E4B11 #0E294B
square
#4B0E48 #4B300E #0E4B11 #0E294B
split-complementary
#4B0E48 #294B0E #0E4B30
monochromatic
#1A0519 #1A0519 #4B0E48 #7F187A #B221AB

Accessibility & contrast

On white

14.43
#4B0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4B0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0E48
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0E48#FFFFFF#000000##FFFFFF
##4B0E481.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07244A
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#4E162A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0e48;
/* rgb */ color: rgb(75, 14, 72);
/* oklch */ color: oklch(29.9% 0.116 330.2);
Tailwind
colors: {
  custom: {
    50: '#80547b',
    500: '#4b0e48',
    950: '#000000',
  },
}
SCSS
$custom: #4b0e48;
$custom-light: #80547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0e48",
  "rgb": {
    "r": 75,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 302.951,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.11573,
    "h": 330.2
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#4B0E48
secondary
#2F8633
accent
#EB453C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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