#4F1470#4F1470

#4F1470 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.149 H 309.6°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#4F1470
RGBrgb(79, 20, 112)
HSLhsl(278, 70%, 26%)
HSVhsv(278, 82%, 44%)
CMYKcmyk(29.5%, 82.1%, 0%, 56.1%)
CIE-LABlab(21.33, 42.50, -40.36)
CIE-LCHlch(21.33, 58.61, 316.48°)
OKLaboklab(34.1% 0.0948 -0.1146)
OKLCHoklch(34.1% 0.149 309.6)
XYZxyz(6.3986, 3.3326, 15.6323)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1470 #357014
analogous
#211470 #4F1470 #701463
triadic
#4F1470 #704F14 #14704F
tetradic
#4F1470 #702114 #357014 #146370
square
#4F1470 #702114 #357014 #146370
split-complementary
#4F1470 #637014 #147021
monochromatic
#12051A #2A0B3C #4F1470 #741DA4 #9827D8

Accessibility & contrast

On white

12.60
#4F1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4F1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1470
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1470#FFFFFF#000000##FFFFFF
##4F14701.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.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: #4f1470;
/* rgb */ color: rgb(79, 20, 112);
/* oklch */ color: oklch(34.1% 0.149 309.6);
Tailwind
colors: {
  custom: {
    50: '#84599a',
    500: '#4f1470',
    950: '#000000',
  },
}
SCSS
$custom: #4f1470;
$custom-light: #84599a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1470",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 278.478,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.14871,
    "h": 309.6
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#4F1470
secondary
#60A639
accent
#ED3B7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1470

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

Preview Lab → · Contrast checker → · Palette generator →

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