#4F0F4B#4F0F4B

#4F0F4B is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.119 H 330.8°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4F0F4B
RGBrgb(79, 15, 75)
HSLhsl(304, 68%, 18%)
HSVhsv(304, 81%, 31%)
CMYKcmyk(0%, 81%, 5.1%, 69%)
CIE-LABlab(17.97, 36.63, -21.14)
CIE-LCHlch(17.97, 42.29, 330.01°)
OKLaboklab(30.87% 0.1043 -0.0583)
OKLCHoklch(30.87% 0.119 330.8)
XYZxyz(4.6653, 2.5123, 6.8945)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F4B #0F4F13
analogous
#330F4F #4F0F4B #4F0F2B
triadic
#4F0F4B #4B4F0F #0F4B4F
tetradic
#4F0F4B #4F330F #0F4F13 #0F2B4F
square
#4F0F4B #4F330F #0F4F13 #0F2B4F
split-complementary
#4F0F4B #2B4F0F #0F4F33
monochromatic
#1A0518 #1C051A #4F0F4B #82197C #B623AD

Accessibility & contrast

On white

13.98
#4F0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F0F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F4B
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F4B#FFFFFF#000000##FFFFFF
##4F0F4B1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#232F49
Tritanopia (blue-blind)
#52172C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f4b;
/* rgb */ color: rgb(79, 15, 75);
/* oklch */ color: oklch(30.9% 0.119 330.8);
Tailwind
colors: {
  custom: {
    50: '#83557d',
    500: '#4f0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f4b;
$custom-light: #83557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f4b",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 303.75,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30867,
    "c": 0.11944,
    "h": 330.8
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#4F0F4B
secondary
#318936
accent
#EB483D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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