#4B0F51#4B0F51

#4B0F51 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.123 H 324.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4B0F51
RGBrgb(75, 15, 81)
HSLhsl(295, 69%, 19%)
HSVhsv(295, 81%, 32%)
CMYKcmyk(7.4%, 81.5%, 0%, 68.2%)
CIE-LABlab(17.61, 36.79, -25.87)
CIE-LCHlch(17.61, 44.97, 324.89°)
OKLaboklab(30.59% 0.0992 -0.0722)
OKLCHoklch(30.59% 0.123 324)
XYZxyz(4.5575, 2.4319, 8.0123)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F51 #15510F
analogous
#2A0F51 #4B0F51 #510F36
triadic
#4B0F51 #514B0F #0F514B
tetradic
#4B0F51 #512A0F #15510F #0F3651
square
#4B0F51 #512A0F #15510F #0F3651
split-complementary
#4B0F51 #36510F #0F512A
monochromatic
#18051A #1B051D #4B0F51 #7B1985 #AB22B8

Accessibility & contrast

On white

14.13
#4B0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F51
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F51#FFFFFF#000000##FFFFFF
##4B0F511.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1B2E4F
Tritanopia (blue-blind)
#4D1B2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0f51;
/* rgb */ color: rgb(75, 15, 81);
/* oklch */ color: oklch(30.6% 0.123 324.0);
Tailwind
colors: {
  custom: {
    50: '#805582',
    500: '#4b0f51',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f51;
$custom-light: #805582;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f51",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 294.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30585,
    "c": 0.12262,
    "h": 324
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#4B0F51
secondary
#398B31
accent
#EC3C4C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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