#4F0E72#4F0E72

#4F0E72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.156 H 309.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4F0E72
RGBrgb(79, 14, 114)
HSLhsl(279, 78%, 25%)
HSVhsv(279, 88%, 45%)
CMYKcmyk(30.7%, 87.7%, 0%, 55.3%)
CIE-LABlab(20.79, 45.01, -42.53)
CIE-LCHlch(20.79, 61.92, 316.62°)
OKLaboklab(33.78% 0.099 -0.1209)
OKLCHoklch(33.78% 0.156 309.3)
XYZxyz(6.4181, 3.1914, 16.1942)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E72 #31720E
analogous
#1D0E72 #4F0E72 #720E63
triadic
#4F0E72 #724F0E #0E724F
tetradic
#4F0E72 #721D0E #31720E #0E6372
square
#4F0E72 #721D0E #31720E #0E6372
split-complementary
#4F0E72 #63720E #0E721D
monochromatic
#13031B #29073B #4F0E72 #7515A9 #9B1BDF

Accessibility & contrast

On white

12.82
#4F0E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F0E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E72
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E72#FFFFFF#000000##FFFFFF
##4F0E721.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#4A2A42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f0e72;
/* rgb */ color: rgb(79, 14, 114);
/* oklch */ color: oklch(33.8% 0.156 309.3);
Tailwind
colors: {
  custom: {
    50: '#85579b',
    500: '#4f0e72',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e72;
$custom-light: #85579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e72",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 114
  },
  "hsl": {
    "h": 279,
    "s": 78.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33783,
    "c": 0.15627,
    "h": 309.3
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#4F0E72
secondary
#5CAA32
accent
#F53377
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F0E72

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

Preview Lab → · Contrast checker → · Palette generator →

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