#4B0F52#4B0F52

#4B0F52 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.7% C 0.124 H 323.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4B0F52
RGBrgb(75, 15, 82)
HSLhsl(294, 69%, 19%)
HSVhsv(294, 82%, 32%)
CMYKcmyk(8.5%, 81.7%, 0%, 67.8%)
CIE-LABlab(17.68, 36.99, -26.43)
CIE-LCHlch(17.68, 45.46, 324.45°)
OKLaboklab(30.66% 0.0991 -0.0738)
OKLCHoklch(30.66% 0.124 323.3)
XYZxyz(4.5953, 2.4470, 8.2113)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F52 #16520F
analogous
#2A0F52 #4B0F52 #520F38
triadic
#4B0F52 #524B0F #0F524B
tetradic
#4B0F52 #522A0F #16520F #0F3852
square
#4B0F52 #522A0F #16520F #0F3852
split-complementary
#4B0F52 #38520F #0F522A
monochromatic
#18051A #1C061E #4B0F52 #7A1886 #AA22B9

Accessibility & contrast

On white

14.10
#4B0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F52
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F52#FFFFFF#000000##FFFFFF
##4B0F521.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#1B2E50
Tritanopia (blue-blind)
#4C1C30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0f52;
/* rgb */ color: rgb(75, 15, 82);
/* oklch */ color: oklch(30.7% 0.124 323.3);
Tailwind
colors: {
  custom: {
    50: '#805583',
    500: '#4b0f52',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f52;
$custom-light: #805583;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f52",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 293.731,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.12355,
    "h": 323.3
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#4B0F52
secondary
#3A8C31
accent
#EC3C4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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