#4B0F4B#4B0F4B

#4B0F4B is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.2% C 0.117 H 328.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#4B0F4B
RGBrgb(75, 15, 75)
HSLhsl(300, 67%, 18%)
HSVhsv(300, 80%, 29%)
CMYKcmyk(0%, 80%, 0%, 70.6%)
CIE-LABlab(17.21, 35.61, -22.40)
CIE-LCHlch(17.21, 42.08, 327.83°)
OKLaboklab(30.17% 0.0994 -0.0621)
OKLCHoklch(30.17% 0.117 328)
XYZxyz(4.3424, 2.3458, 6.8793)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F4B #0F4B0F
analogous
#2D0F4B #4B0F4B #4B0F2D
triadic
#4B0F4B #4B4B0F #0F4B4B
tetradic
#4B0F4B #4B2D0F #0F4B0F #0F2D4B
square
#4B0F4B #4B2D0F #0F4B0F #0F2D4B
split-complementary
#4B0F4B #2D4B0F #0F4B2D
monochromatic
#1A051A #1A051A #4B0F4B #7E197E #B123B1

Accessibility & contrast

On white

14.29
#4B0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0F4B
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F4B#FFFFFF#000000##FFFFFF
##4B0F4B1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#1F2D49
Tritanopia (blue-blind)
#4E182C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b0f4b;
/* rgb */ color: rgb(75, 15, 75);
/* oklch */ color: oklch(30.2% 0.117 328.0);
Tailwind
colors: {
  custom: {
    50: '#80557d',
    500: '#4b0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f4b;
$custom-light: #80557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f4b",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 300,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.11715,
    "h": 328
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#4B0F4B
secondary
#308530
accent
#EA3E3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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