#4B0F5A#4B0F5A

#4B0F5A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 318.5°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#4B0F5A
RGBrgb(75, 15, 90)
HSLhsl(288, 71%, 21%)
HSVhsv(288, 83%, 35%)
CMYKcmyk(16.7%, 83.3%, 0%, 64.7%)
CIE-LABlab(18.26, 38.65, -30.89)
CIE-LCHlch(18.26, 49.48, 321.36°)
OKLaboklab(31.25% 0.0982 -0.0869)
OKLCHoklch(31.25% 0.131 318.5)
XYZxyz(4.9177, 2.5759, 9.9090)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F5A #1E5A0F
analogous
#250F5A #4B0F5A #5A0F43
triadic
#4B0F5A #5A4B0F #0F5A4B
tetradic
#4B0F5A #5A250F #1E5A0F #0F435A
square
#4B0F5A #5A250F #1E5A0F #0F435A
split-complementary
#4B0F5A #435A0F #0F5A25
monochromatic
#16041A #1F0626 #4B0F5A #77188E #A220C3

Accessibility & contrast

On white

13.86
#4B0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F5A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F5A#FFFFFF#000000##FFFFFF
##4B0F5A1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#132E58
Tritanopia (blue-blind)
#4B1F34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b0f5a;
/* rgb */ color: rgb(75, 15, 90);
/* oklch */ color: oklch(31.3% 0.131 318.5);
Tailwind
colors: {
  custom: {
    50: '#805689',
    500: '#4b0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f5a;
$custom-light: #805689;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f5a",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 288,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.13107,
    "h": 318.5
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#4B0F5A
secondary
#459431
accent
#EE3A5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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