#4B0F54#4B0F54

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

Color values

HEX#4B0F54
RGBrgb(75, 15, 84)
HSLhsl(292, 70%, 19%)
HSVhsv(292, 82%, 33%)
CMYKcmyk(10.7%, 82.1%, 0%, 67.1%)
CIE-LABlab(17.82, 37.40, -27.56)
CIE-LCHlch(17.82, 46.46, 323.61°)
OKLaboklab(30.8% 0.0989 -0.0771)
OKLCHoklch(30.8% 0.125 322.1)
XYZxyz(4.6725, 2.4779, 8.6179)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F54 #18540F
analogous
#290F54 #4B0F54 #540F3B
triadic
#4B0F54 #544B0F #0F544B
tetradic
#4B0F54 #54290F #18540F #0F3B54
square
#4B0F54 #54290F #18540F #0F3B54
split-complementary
#4B0F54 #3B540F #0F5429
monochromatic
#17051A #1D0620 #4B0F54 #791888 #A822BC

Accessibility & contrast

On white

14.04
#4B0F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4B0F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F54
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F54#FFFFFF#000000##FFFFFF
##4B0F541.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#192E52
Tritanopia (blue-blind)
#4C1D31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b0f54;
/* rgb */ color: rgb(75, 15, 84);
/* oklch */ color: oklch(30.8% 0.125 322.1);
Tailwind
colors: {
  custom: {
    50: '#805584',
    500: '#4b0f54',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f54;
$custom-light: #805584;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f54",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 292.174,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30802,
    "c": 0.12541,
    "h": 322.1
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#4B0F54
secondary
#3D8E31
accent
#ED3B52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B0F54

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

Preview Lab → · Contrast checker → · Palette generator →

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