#4B0F5F#4B0F5F

#4B0F5F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.136 H 315.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#4B0F5F
RGBrgb(75, 15, 95)
HSLhsl(285, 73%, 22%)
HSVhsv(285, 84%, 37%)
CMYKcmyk(21.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(18.64, 39.72, -33.61)
CIE-LCHlch(18.64, 52.03, 319.77°)
OKLaboklab(31.65% 0.0973 -0.0948)
OKLCHoklch(31.65% 0.136 315.7)
XYZxyz(5.1377, 2.6639, 11.0678)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F5F #235F0F
analogous
#230F5F #4B0F5F #5F0F4B
triadic
#4B0F5F #5F4B0F #0F5F4B
tetradic
#4B0F5F #5F230F #235F0F #0F4B5F
square
#4B0F5F #5F230F #235F0F #0F4B5F
split-complementary
#4B0F5F #4B5F0F #0F5F23
monochromatic
#15041A #21072A #4B0F5F #751794 #9E20C9

Accessibility & contrast

On white

13.70
#4B0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F5F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F5F#FFFFFF#000000##FFFFFF
##4B0F5F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#492237
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0f5f;
/* rgb */ color: rgb(75, 15, 95);
/* oklch */ color: oklch(31.6% 0.136 315.7);
Tailwind
colors: {
  custom: {
    50: '#81568d',
    500: '#4b0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f5f;
$custom-light: #81568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f5f",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 285,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31649,
    "c": 0.13585,
    "h": 315.7
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#4B0F5F
secondary
#4B9832
accent
#EF3866
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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