#4F0F4E#4F0F4E

#4F0F4E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.1% C 0.122 H 328.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#4F0F4E
RGBrgb(79, 15, 78)
HSLhsl(301, 68%, 18%)
HSVhsv(301, 81%, 31%)
CMYKcmyk(0%, 81%, 1.3%, 69%)
CIE-LABlab(18.16, 37.18, -22.89)
CIE-LCHlch(18.16, 43.67, 328.38°)
OKLaboklab(31.06% 0.1043 -0.0634)
OKLCHoklch(31.06% 0.122 328.7)
XYZxyz(4.7704, 2.5543, 7.4480)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F4E #0F4F10
analogous
#300F4F #4F0F4E #4F0F2E
triadic
#4F0F4E #4E4F0F #0F4E4F
tetradic
#4F0F4E #4F300F #0F4F10 #0F2E4F
square
#4F0F4E #4F300F #0F4F10 #0F2E4F
split-complementary
#4F0F4E #2E4F0F #0F4F30
monochromatic
#1A0519 #1C051B #4F0F4E #821981 #B623B4

Accessibility & contrast

On white

13.90
#4F0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F4E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F4E#FFFFFF#000000##FFFFFF
##4F0F4E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042750
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#52192E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f4e;
/* rgb */ color: rgb(79, 15, 78);
/* oklch */ color: oklch(31.1% 0.122 328.7);
Tailwind
colors: {
  custom: {
    50: '#835680',
    500: '#4f0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f4e;
$custom-light: #835680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f4e",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 300.938,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31063,
    "c": 0.12203,
    "h": 328.7
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#4F0F4E
secondary
#318932
accent
#EB403D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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