#4F0F4D#4F0F4D

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

Color values

HEX#4F0F4D
RGBrgb(79, 15, 77)
HSLhsl(302, 68%, 18%)
HSVhsv(302, 81%, 31%)
CMYKcmyk(0%, 81%, 2.5%, 69%)
CIE-LABlab(18.10, 37.00, -22.31)
CIE-LCHlch(18.10, 43.20, 328.91°)
OKLaboklab(31% 0.1043 -0.0617)
OKLCHoklch(31% 0.121 329.4)
XYZxyz(4.7348, 2.5401, 7.2607)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F4D #0F4F11
analogous
#310F4F #4F0F4D #4F0F2D
triadic
#4F0F4D #4D4F0F #0F4D4F
tetradic
#4F0F4D #4F310F #0F4F11 #0F2D4F
square
#4F0F4D #4F310F #0F4F11 #0F2D4F
split-complementary
#4F0F4D #2D4F0F #0F4F31
monochromatic
#1A0519 #1C051B #4F0F4D #82197F #B623B1

Accessibility & contrast

On white

13.93
#4F0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F4D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F4D#FFFFFF#000000##FFFFFF
##4F0F4D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06274F
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#52182D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0f4d;
/* rgb */ color: rgb(79, 15, 77);
/* oklch */ color: oklch(31.0% 0.121 329.4);
Tailwind
colors: {
  custom: {
    50: '#83567f',
    500: '#4f0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f4d;
$custom-light: #83567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f4d",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 301.875,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30997,
    "c": 0.12117,
    "h": 329.4
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#4F0F4D
secondary
#318933
accent
#EB423D
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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