#4B0F4C#4B0F4C

#4B0F4C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.2% C 0.118 H 327.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4B0F4C
RGBrgb(75, 15, 76)
HSLhsl(299, 67%, 18%)
HSVhsv(299, 80%, 30%)
CMYKcmyk(1.3%, 80.3%, 0%, 70.2%)
CIE-LABlab(17.27, 35.81, -22.99)
CIE-LCHlch(17.27, 42.55, 327.30°)
OKLaboklab(30.24% 0.0993 -0.0638)
OKLCHoklch(30.24% 0.118 327.3)
XYZxyz(4.3769, 2.3596, 7.0610)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F4C #104C0F
analogous
#2C0F4C #4B0F4C #4C0F2F
triadic
#4B0F4C #4C4B0F #0F4C4B
tetradic
#4B0F4C #4C2C0F #104C0F #0F2F4C
square
#4B0F4C #4C2C0F #104C0F #0F2F4C
split-complementary
#4B0F4C #2F4C0F #0F4C2C
monochromatic
#19051A #19051A #4B0F4C #7D197F #B023B2

Accessibility & contrast

On white

14.27
#4B0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4B0F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F4C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F4C#FFFFFF#000000##FFFFFF
##4B0F4C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#4D192C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0f4c;
/* rgb */ color: rgb(75, 15, 76);
/* oklch */ color: oklch(30.2% 0.118 327.3);
Tailwind
colors: {
  custom: {
    50: '#80557e',
    500: '#4b0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f4c;
$custom-light: #80557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f4c",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 299.016,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30237,
    "c": 0.11806,
    "h": 327.3
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#4B0F4C
secondary
#328631
accent
#EA3E41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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