#4B0F5D#4B0F5D

#4B0F5D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.134 H 316.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4B0F5D
RGBrgb(75, 15, 93)
HSLhsl(286, 72%, 21%)
HSVhsv(286, 84%, 36%)
CMYKcmyk(19.4%, 83.9%, 0%, 63.5%)
CIE-LABlab(18.49, 39.29, -32.53)
CIE-LCHlch(18.49, 51.01, 320.38°)
OKLaboklab(31.49% 0.0977 -0.0917)
OKLCHoklch(31.49% 0.134 316.8)
XYZxyz(5.0480, 2.6280, 10.5952)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F5D #215D0F
analogous
#240F5D #4B0F5D #5D0F48
triadic
#4B0F5D #5D4B0F #0F5D4B
tetradic
#4B0F5D #5D240F #215D0F #0F485D
square
#4B0F5D #5D240F #215D0F #0F485D
split-complementary
#4B0F5D #485D0F #0F5D24
monochromatic
#15041A #200628 #4B0F5D #751792 #A020C6

Accessibility & contrast

On white

13.77
#4B0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B0F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F5D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F5D#FFFFFF#000000##FFFFFF
##4B0F5D1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#4A2136
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0f5d;
/* rgb */ color: rgb(75, 15, 93);
/* oklch */ color: oklch(31.5% 0.134 316.8);
Tailwind
colors: {
  custom: {
    50: '#81568b',
    500: '#4b0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f5d;
$custom-light: #81568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f5d",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 286.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31489,
    "c": 0.13394,
    "h": 316.8
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4B0F5D
secondary
#499631
accent
#EF3963
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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