#4F1376#4F1376

#4F1376 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.156 H 307.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4F1376
RGBrgb(79, 19, 118)
HSLhsl(276, 72%, 27%)
HSVhsv(276, 84%, 46%)
CMYKcmyk(33.1%, 83.9%, 0%, 53.7%)
CIE-LABlab(21.71, 44.27, -43.60)
CIE-LCHlch(21.71, 62.14, 315.43°)
OKLaboklab(34.53% 0.0941 -0.1241)
OKLCHoklch(34.53% 0.156 307.2)
XYZxyz(6.7266, 3.4361, 17.4449)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1376 #3A7613
analogous
#1E1376 #4F1376 #76136C
triadic
#4F1376 #764F13 #13764F
tetradic
#4F1376 #761E13 #3A7613 #136C76
square
#4F1376 #761E13 #3A7613 #136C76
split-complementary
#4F1376 #6C7613 #13761E
monochromatic
#12041A #2C0B41 #4F1376 #721BAB #9527DC

Accessibility & contrast

On white

12.45
#4F1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1376
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1376#FFFFFF#000000##FFFFFF
##4F13761.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#482D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1376;
/* rgb */ color: rgb(79, 19, 118);
/* oklch */ color: oklch(34.5% 0.156 307.2);
Tailwind
colors: {
  custom: {
    50: '#85599e',
    500: '#4f1376',
    950: '#000000',
  },
}
SCSS
$custom: #4f1376;
$custom-light: #85599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1376",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 276.364,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.15572,
    "h": 307.2
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#4F1376
secondary
#66AC39
accent
#EF3981
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1376

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

Preview Lab → · Contrast checker → · Palette generator →

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