#4F1374#4F1374

#4F1374 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.154 H 308.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#4F1374
RGBrgb(79, 19, 116)
HSLhsl(277, 72%, 26%)
HSVhsv(277, 84%, 45%)
CMYKcmyk(31.9%, 83.6%, 0%, 54.5%)
CIE-LABlab(21.54, 43.80, -42.60)
CIE-LCHlch(21.54, 61.10, 315.79°)
OKLaboklab(34.36% 0.0946 -0.1211)
OKLCHoklch(34.36% 0.154 308)
XYZxyz(6.6090, 3.3891, 16.8256)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1374 #387413
analogous
#1E1374 #4F1374 #741369
triadic
#4F1374 #744F13 #13744F
tetradic
#4F1374 #741E13 #387413 #136974
square
#4F1374 #741E13 #387413 #136974
split-complementary
#4F1374 #697413 #13741E
monochromatic
#12041A #2B0A3F #4F1374 #731CA9 #9626DB

Accessibility & contrast

On white

12.52
#4F1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4F1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1374
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1374#FFFFFF#000000##FFFFFF
##4F13741.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#492C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1374;
/* rgb */ color: rgb(79, 19, 116);
/* oklch */ color: oklch(34.4% 0.154 308.0);
Tailwind
colors: {
  custom: {
    50: '#85599d',
    500: '#4f1374',
    950: '#000000',
  },
}
SCSS
$custom: #4f1374;
$custom-light: #85599d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1374",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 277.113,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.15372,
    "h": 308
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#4F1374
secondary
#64AA38
accent
#EF397E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1374

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

Preview Lab → · Contrast checker → · Palette generator →

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