#4B0F5E#4B0F5E

#4B0F5E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.6% C 0.135 H 316.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#4B0F5E
RGBrgb(75, 15, 94)
HSLhsl(286, 72%, 21%)
HSVhsv(286, 84%, 37%)
CMYKcmyk(20.2%, 84%, 0%, 63.1%)
CIE-LABlab(18.57, 39.50, -33.07)
CIE-LCHlch(18.57, 51.52, 320.07°)
OKLaboklab(31.57% 0.0975 -0.0932)
OKLCHoklch(31.57% 0.135 316.3)
XYZxyz(5.0925, 2.6459, 10.8300)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F5E #225E0F
analogous
#240F5E #4B0F5E #5E0F4A
triadic
#4B0F5E #5E4B0F #0F5E4B
tetradic
#4B0F5E #5E240F #225E0F #0F4A5E
square
#4B0F5E #5E240F #225E0F #0F4A5E
split-complementary
#4B0F5E #4A5E0F #0F5E24
monochromatic
#15041A #210729 #4B0F5E #751793 #9F20C8

Accessibility & contrast

On white

13.73
#4B0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F5E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F5E#FFFFFF#000000##FFFFFF
##4B0F5E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#4A2137
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0f5e;
/* rgb */ color: rgb(75, 15, 94);
/* oklch */ color: oklch(31.6% 0.135 316.3);
Tailwind
colors: {
  custom: {
    50: '#81568c',
    500: '#4b0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f5e;
$custom-light: #81568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f5e",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 285.57,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31569,
    "c": 0.13489,
    "h": 316.3
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#4B0F5E
secondary
#4A9731
accent
#EF3965
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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