#4B0F5C#4B0F5C

#4B0F5C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.133 H 317.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4B0F5C
RGBrgb(75, 15, 92)
HSLhsl(287, 72%, 21%)
HSVhsv(287, 84%, 36%)
CMYKcmyk(18.5%, 83.7%, 0%, 63.9%)
CIE-LABlab(18.41, 39.08, -31.99)
CIE-LCHlch(18.41, 50.50, 320.70°)
OKLaboklab(31.41% 0.0978 -0.0901)
OKLCHoklch(31.41% 0.133 317.4)
XYZxyz(5.0040, 2.6104, 10.3634)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F5C #205C0F
analogous
#240F5C #4B0F5C #5C0F46
triadic
#4B0F5C #5C4B0F #0F5C4B
tetradic
#4B0F5C #5C240F #205C0F #0F465C
square
#4B0F5C #5C240F #205C0F #0F465C
split-complementary
#4B0F5C #465C0F #0F5C24
monochromatic
#15041A #200627 #4B0F5C #761891 #A120C5

Accessibility & contrast

On white

13.80
#4B0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B0F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F5C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F5C#FFFFFF#000000##FFFFFF
##4B0F5C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#112F5A
Tritanopia (blue-blind)
#4A2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0f5c;
/* rgb */ color: rgb(75, 15, 92);
/* oklch */ color: oklch(31.4% 0.133 317.4);
Tailwind
colors: {
  custom: {
    50: '#80568b',
    500: '#4b0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f5c;
$custom-light: #80568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f5c",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 286.753,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.13299,
    "h": 317.4
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#4B0F5C
secondary
#479531
accent
#EF3961
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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