#4F1381#4F1381

#4F1381 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.167 H 302.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#4F1381
RGBrgb(79, 19, 129)
HSLhsl(273, 74%, 29%)
HSVhsv(273, 85%, 51%)
CMYKcmyk(38.8%, 85.3%, 0%, 49.4%)
CIE-LABlab(22.70, 46.88, -49.00)
CIE-LCHlch(22.70, 67.81, 313.73°)
OKLaboklab(35.52% 0.0906 -0.1399)
OKLCHoklch(35.52% 0.167 302.9)
XYZxyz(7.4188, 3.7130, 21.0905)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1381 #458113
analogous
#181381 #4F1381 #81137C
triadic
#4F1381 #814F13 #13814F
tetradic
#4F1381 #811813 #458113 #137C81
square
#4F1381 #811813 #458113 #137C81
split-complementary
#4F1381 #7C8113 #138118
monochromatic
#10041B #2E0B4C #4F1381 #701BB6 #8F2EE0

Accessibility & contrast

On white

12.05
#4F1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#4F1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1381
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1381#FFFFFF#000000##FFFFFF
##4F13811.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#44324C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4f1381;
/* rgb */ color: rgb(79, 19, 129);
/* oklch */ color: oklch(35.5% 0.167 302.9);
Tailwind
colors: {
  custom: {
    50: '#865aa6',
    500: '#4f1381',
    950: '#000000',
  },
}
SCSS
$custom: #4f1381;
$custom-light: #865aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1381",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 272.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3552,
    "c": 0.16672,
    "h": 302.9
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#4F1381
secondary
#72B63A
accent
#F1378B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #4F1381

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

Preview Lab → · Contrast checker → · Palette generator →

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