#4F0E4F#4F0E4F

#4F0E4F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.124 H 328.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#4F0E4F
RGBrgb(79, 14, 79)
HSLhsl(300, 70%, 18%)
HSVhsv(300, 82%, 31%)
CMYKcmyk(0%, 82.3%, 0%, 69%)
CIE-LABlab(18.10, 37.72, -23.67)
CIE-LCHlch(18.10, 44.53, 327.89°)
OKLaboklab(31.04% 0.1053 -0.0656)
OKLCHoklch(31.04% 0.124 328.1)
XYZxyz(4.7927, 2.5412, 7.6337)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E4F #0E4F0E
analogous
#2E0E4F #4F0E4F #4F0E2E
triadic
#4F0E4F #4F4F0E #0E4F4F
tetradic
#4F0E4F #4F2E0E #0E4F0E #0E2E4F
square
#4F0E4F #4F2E0E #0E4F0E #0E2E4F
split-complementary
#4F0E4F #2E4F0E #0E4F2E
monochromatic
#1A051A #1B051B #4F0E4F #831783 #B720B7

Accessibility & contrast

On white

13.92
#4F0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E4F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E4F#FFFFFF#000000##FFFFFF
##4F0E4F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#52192E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0e4f;
/* rgb */ color: rgb(79, 14, 79);
/* oklch */ color: oklch(31.0% 0.124 328.1);
Tailwind
colors: {
  custom: {
    50: '#835580',
    500: '#4f0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e4f;
$custom-light: #835580;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e4f",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.12406,
    "h": 328.1
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#4F0E4F
secondary
#2F8A2F
accent
#ED3B3B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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