#4F0F72#4F0F72

#4F0F72 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.155 H 309.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4F0F72
RGBrgb(79, 15, 114)
HSLhsl(279, 77%, 25%)
HSVhsv(279, 87%, 45%)
CMYKcmyk(30.7%, 86.8%, 0%, 55.3%)
CIE-LABlab(20.90, 44.70, -42.35)
CIE-LCHlch(20.90, 61.58, 316.54°)
OKLaboklab(33.86% 0.0983 -0.1204)
OKLCHoklch(33.86% 0.155 309.2)
XYZxyz(6.4319, 3.2189, 16.1988)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F72 #32720F
analogous
#1E0F72 #4F0F72 #720F63
triadic
#4F0F72 #724F0F #0F724F
tetradic
#4F0F72 #721E0F #32720F #0F6372
square
#4F0F72 #721E0F #32720F #0F6372
split-complementary
#4F0F72 #63720F #0F721E
monochromatic
#13041B #2A083C #4F0F72 #7416A8 #9A1DDE

Accessibility & contrast

On white

12.78
#4F0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F72
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F72#FFFFFF#000000##FFFFFF
##4F0F721.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.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: #4f0f72;
/* rgb */ color: rgb(79, 15, 114);
/* oklch */ color: oklch(33.9% 0.155 309.2);
Tailwind
colors: {
  custom: {
    50: '#85589b',
    500: '#4f0f72',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f72;
$custom-light: #85589b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f72",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 278.788,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.15543,
    "h": 309.2
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#4F0F72
secondary
#5DAA33
accent
#F33578
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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