#4B0F57#4B0F57

#4B0F57 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.128 H 320.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4B0F57
RGBrgb(75, 15, 87)
HSLhsl(290, 71%, 20%)
HSVhsv(290, 83%, 34%)
CMYKcmyk(13.8%, 82.8%, 0%, 65.9%)
CIE-LABlab(18.04, 38.02, -29.24)
CIE-LCHlch(18.04, 47.96, 322.44°)
OKLaboklab(31.03% 0.0986 -0.082)
OKLCHoklch(31.03% 0.128 320.2)
XYZxyz(4.7926, 2.5259, 9.2501)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F57 #1B570F
analogous
#270F57 #4B0F57 #570F3F
triadic
#4B0F57 #574B0F #0F574B
tetradic
#4B0F57 #57270F #1B570F #0F3F57
square
#4B0F57 #57270F #1B570F #0F3F57
split-complementary
#4B0F57 #3F570F #0F5727
monochromatic
#16051A #1E0623 #4B0F57 #78188B #A521BF

Accessibility & contrast

On white

13.95
#4B0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4B0F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F57
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F57#FFFFFF#000000##FFFFFF
##4B0F571.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#162E55
Tritanopia (blue-blind)
#4B1E33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b0f57;
/* rgb */ color: rgb(75, 15, 87);
/* oklch */ color: oklch(31.0% 0.128 320.2);
Tailwind
colors: {
  custom: {
    50: '#805587',
    500: '#4b0f57',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f57;
$custom-light: #805587;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f57",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 290,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.12823,
    "h": 320.2
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4B0F57
secondary
#419131
accent
#ED3A58
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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