#4B0E47#4B0E47

#4B0E47 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.115 H 330.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4B0E47
RGBrgb(75, 14, 71)
HSLhsl(304, 69%, 17%)
HSVhsv(304, 81%, 29%)
CMYKcmyk(0%, 81.3%, 5.3%, 70.6%)
CIE-LABlab(16.82, 35.24, -20.26)
CIE-LCHlch(16.82, 40.65, 330.11°)
OKLaboklab(29.81% 0.1004 -0.0558)
OKLCHoklch(29.81% 0.115 330.9)
XYZxyz(4.1960, 2.2652, 6.1762)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0E47 #0E4B12
analogous
#300E4B #4B0E47 #4B0E29
triadic
#4B0E47 #474B0E #0E474B
tetradic
#4B0E47 #4B300E #0E4B12 #0E294B
square
#4B0E47 #4B300E #0E4B12 #0E294B
split-complementary
#4B0E47 #294B0E #0E4B30
monochromatic
#1A0518 #1A0518 #4B0E47 #7F1878 #B221A9

Accessibility & contrast

On white

14.45
#4B0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4B0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0E47
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0E47#FFFFFF#000000##FFFFFF
##4B0E471.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082449
Deuteranopia (green-blind)
#212C46
Tritanopia (blue-blind)
#4E1629
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4b0e47;
/* rgb */ color: rgb(75, 14, 71);
/* oklch */ color: oklch(29.8% 0.115 330.9);
Tailwind
colors: {
  custom: {
    50: '#80547a',
    500: '#4b0e47',
    950: '#000000',
  },
}
SCSS
$custom: #4b0e47;
$custom-light: #80547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0e47",
  "rgb": {
    "r": 75,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 303.934,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29812,
    "c": 0.11487,
    "h": 330.9
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#4B0E47
secondary
#2F8635
accent
#EB483C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #4B0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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