#4B0F58#4B0F58

#4B0F58 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.129 H 319.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4B0F58
RGBrgb(75, 15, 88)
HSLhsl(289, 71%, 20%)
HSVhsv(289, 83%, 35%)
CMYKcmyk(14.8%, 83%, 0%, 65.5%)
CIE-LABlab(18.11, 38.23, -29.79)
CIE-LCHlch(18.11, 48.47, 322.07°)
OKLaboklab(31.1% 0.0984 -0.0836)
OKLCHoklch(31.1% 0.129 319.6)
XYZxyz(4.8337, 2.5423, 9.4667)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F58 #1C580F
analogous
#260F58 #4B0F58 #580F40
triadic
#4B0F58 #584B0F #0F584B
tetradic
#4B0F58 #58260F #1C580F #0F4058
square
#4B0F58 #58260F #1C580F #0F4058
split-complementary
#4B0F58 #40580F #0F5826
monochromatic
#16041A #1E0624 #4B0F58 #78188C #A421C1

Accessibility & contrast

On white

13.92
#4B0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4B0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F58
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F58#FFFFFF#000000##FFFFFF
##4B0F581.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#152E56
Tritanopia (blue-blind)
#4B1E33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4b0f58;
/* rgb */ color: rgb(75, 15, 88);
/* oklch */ color: oklch(31.1% 0.129 319.6);
Tailwind
colors: {
  custom: {
    50: '#805588',
    500: '#4b0f58',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f58;
$custom-light: #805588;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f58",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 289.315,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31101,
    "c": 0.12917,
    "h": 319.6
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#4B0F58
secondary
#429231
accent
#EE3A5A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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