#4B0E54#4B0E54

#4B0E54 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.7% C 0.127 H 322.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4B0E54
RGBrgb(75, 14, 84)
HSLhsl(292, 71%, 19%)
HSVhsv(292, 83%, 33%)
CMYKcmyk(10.7%, 83.3%, 0%, 67.1%)
CIE-LABlab(17.69, 37.76, -27.77)
CIE-LCHlch(17.69, 46.87, 323.67°)
OKLaboklab(30.71% 0.0999 -0.0777)
OKLCHoklch(30.71% 0.127 322.1)
XYZxyz(4.6588, 2.4503, 8.6134)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0E54 #17540E
analogous
#280E54 #4B0E54 #540E3A
triadic
#4B0E54 #544B0E #0E544B
tetradic
#4B0E54 #54280E #17540E #0E3A54
square
#4B0E54 #54280E #17540E #0E3A54
split-complementary
#4B0E54 #3A540E #0E5428
monochromatic
#17041A #1C0520 #4B0E54 #7A1788 #A91FBD

Accessibility & contrast

On white

14.09
#4B0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4B0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0E54
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0E54#FFFFFF#000000##FFFFFF
##4B0E541.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#182E52
Tritanopia (blue-blind)
#4C1C31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0e54;
/* rgb */ color: rgb(75, 14, 84);
/* oklch */ color: oklch(30.7% 0.127 322.1);
Tailwind
colors: {
  custom: {
    50: '#805584',
    500: '#4b0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4b0e54;
$custom-light: #805584;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0e54",
  "rgb": {
    "r": 75,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 292.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30713,
    "c": 0.12654,
    "h": 322.1
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#4B0E54
secondary
#3C8E2F
accent
#EE3A51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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