#4F1D84#4F1D84

#4F1D84 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.160 H 300.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1D84
RGBrgb(79, 29, 132)
HSLhsl(269, 64%, 32%)
HSVhsv(269, 78%, 52%)
CMYKcmyk(40.2%, 78%, 0%, 48.2%)
CIE-LABlab(24.34, 43.64, -48.20)
CIE-LCHlch(24.34, 65.02, 312.16°)
OKLaboklab(36.75% 0.0815 -0.1377)
OKLCHoklch(36.75% 0.16 300.6)
XYZxyz(7.8276, 4.2069, 22.2249)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D84 #52841D
analogous
#1D1F84 #4F1D84 #831D84
triadic
#4F1D84 #844F1D #1D844F
tetradic
#4F1D84 #841D1F #52841D #1D8483
square
#4F1D84 #841D1F #52841D #1D8483
split-complementary
#4F1D84 #84831D #1F841D
monochromatic
#130720 #311252 #4F1D84 #6D28B6 #8C45D6

Accessibility & contrast

On white

11.40
#4F1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1D84
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D84#FFFFFF#000000##FFFFFF
##4F1D841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#43384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1d84;
/* rgb */ color: rgb(79, 29, 132);
/* oklch */ color: oklch(36.8% 0.160 300.6);
Tailwind
colors: {
  custom: {
    50: '#865fa9',
    500: '#4f1d84',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d84;
$custom-light: #865fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d84",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 269.126,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.15997,
    "h": 300.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#4F1D84
secondary
#80B746
accent
#E74196
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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