#4F0E4B#4F0E4B

#4F0E4B is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.121 H 330.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4F0E4B
RGBrgb(79, 14, 75)
HSLhsl(304, 70%, 18%)
HSVhsv(304, 82%, 31%)
CMYKcmyk(0%, 82.3%, 5.1%, 69%)
CIE-LABlab(17.85, 36.99, -21.34)
CIE-LCHlch(17.85, 42.70, 330.02°)
OKLaboklab(30.78% 0.1053 -0.0588)
OKLCHoklch(30.78% 0.121 330.8)
XYZxyz(4.6515, 2.4847, 6.8899)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E4B #0E4F12
analogous
#320E4F #4F0E4B #4F0E2A
triadic
#4F0E4B #4B4F0E #0E4B4F
tetradic
#4F0E4B #4F320E #0E4F12 #0E2A4F
square
#4F0E4B #4F320E #0E4F12 #0E2A4F
split-complementary
#4F0E4B #2A4F0E #0E4F32
monochromatic
#1A0519 #1B051A #4F0E4B #83177C #B720AE

Accessibility & contrast

On white

14.03
#4F0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0E4B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E4B#FFFFFF#000000##FFFFFF
##4F0E4B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0e4b;
/* rgb */ color: rgb(79, 14, 75);
/* oklch */ color: oklch(30.8% 0.121 330.8);
Tailwind
colors: {
  custom: {
    50: '#83557d',
    500: '#4f0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e4b;
$custom-light: #83557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e4b",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 303.692,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.12061,
    "h": 330.8
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#4F0E4B
secondary
#2F8A35
accent
#ED463B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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