#4B0F56#4B0F56

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

Color values

HEX#4B0F56
RGBrgb(75, 15, 86)
HSLhsl(291, 70%, 20%)
HSVhsv(291, 83%, 34%)
CMYKcmyk(12.8%, 82.6%, 0%, 66.3%)
CIE-LABlab(17.96, 37.81, -28.68)
CIE-LCHlch(17.96, 47.46, 322.81°)
OKLaboklab(30.95% 0.0987 -0.0804)
OKLCHoklch(30.95% 0.127 320.8)
XYZxyz(4.7520, 2.5096, 9.0364)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F56 #1A560F
analogous
#270F56 #4B0F56 #560F3E
triadic
#4B0F56 #564B0F #0F564B
tetradic
#4B0F56 #56270F #1A560F #0F3E56
square
#4B0F56 #56270F #1A560F #0F3E56
split-complementary
#4B0F56 #3E560F #0F5627
monochromatic
#17051A #1E0622 #4B0F56 #78188A #A621BE

Accessibility & contrast

On white

13.98
#4B0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F56
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F56#FFFFFF#000000##FFFFFF
##4B0F561.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#172E54
Tritanopia (blue-blind)
#4C1E32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b0f56;
/* rgb */ color: rgb(75, 15, 86);
/* oklch */ color: oklch(30.9% 0.127 320.8);
Tailwind
colors: {
  custom: {
    50: '#805586',
    500: '#4b0f56',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f56;
$custom-light: #805586;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f56",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 290.704,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3095,
    "c": 0.12729,
    "h": 320.8
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#4B0F56
secondary
#409031
accent
#ED3B56
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #4B0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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