#4B0F4F#4B0F4F

#4B0F4F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.121 H 325.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4B0F4F
RGBrgb(75, 15, 79)
HSLhsl(296, 68%, 18%)
HSVhsv(296, 81%, 31%)
CMYKcmyk(5.1%, 81%, 0%, 69%)
CIE-LABlab(17.47, 36.39, -24.72)
CIE-LCHlch(17.47, 44.00, 325.81°)
OKLaboklab(30.44% 0.0993 -0.0688)
OKLCHoklch(30.44% 0.121 325.3)
XYZxyz(4.4837, 2.4023, 7.6232)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0F4F #134F0F
analogous
#2B0F4F #4B0F4F #4F0F33
triadic
#4B0F4F #4F4B0F #0F4F4B
tetradic
#4B0F4F #4F2B0F #134F0F #0F334F
square
#4B0F4F #4F2B0F #134F0F #0F334F
split-complementary
#4B0F4F #334F0F #0F4F2B
monochromatic
#18051A #1A051C #4B0F4F #7C1982 #AD23B6

Accessibility & contrast

On white

14.19
#4B0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4B0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0F4F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0F4F#FFFFFF#000000##FFFFFF
##4B0F4F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1D2D4D
Tritanopia (blue-blind)
#4D1A2E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b0f4f;
/* rgb */ color: rgb(75, 15, 79);
/* oklch */ color: oklch(30.4% 0.121 325.3);
Tailwind
colors: {
  custom: {
    50: '#805581',
    500: '#4b0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0f4f;
$custom-light: #805581;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0f4f",
  "rgb": {
    "r": 75,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 296.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.12078,
    "h": 325.3
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#4B0F4F
secondary
#368931
accent
#EB3D48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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