#4F1370#4F1370

#4F1370 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.150 H 309.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#4F1370
RGBrgb(79, 19, 112)
HSLhsl(279, 71%, 26%)
HSVhsv(279, 83%, 44%)
CMYKcmyk(29.5%, 83%, 0%, 56.1%)
CIE-LABlab(21.20, 42.87, -40.57)
CIE-LCHlch(21.20, 59.03, 316.58°)
OKLaboklab(34.01% 0.0957 -0.1152)
OKLCHoklch(34.01% 0.15 309.7)
XYZxyz(6.3814, 3.2980, 15.6265)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1370 #347013
analogous
#211370 #4F1370 #701362
triadic
#4F1370 #704F13 #13704F
tetradic
#4F1370 #702113 #347013 #136270
square
#4F1370 #702113 #347013 #136270
split-complementary
#4F1370 #627013 #137021
monochromatic
#12041A #2A0A3C #4F1370 #741CA4 #9925D9

Accessibility & contrast

On white

12.65
#4F1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1370
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1370#FFFFFF#000000##FFFFFF
##4F13701.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#4A2B42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1370;
/* rgb */ color: rgb(79, 19, 112);
/* oklch */ color: oklch(34.0% 0.150 309.7);
Tailwind
colors: {
  custom: {
    50: '#84599a',
    500: '#4f1370',
    950: '#000000',
  },
}
SCSS
$custom: #4f1370;
$custom-light: #84599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1370",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 278.71,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34013,
    "c": 0.14974,
    "h": 309.7
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#4F1370
secondary
#5FA738
accent
#EE3A7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1370

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

Preview Lab → · Contrast checker → · Palette generator →

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