#4F1D82#4F1D82

#4F1D82 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.158 H 301.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4F1D82
RGBrgb(79, 29, 130)
HSLhsl(270, 64%, 31%)
HSVhsv(270, 78%, 51%)
CMYKcmyk(39.2%, 77.7%, 0%, 49%)
CIE-LABlab(24.17, 43.13, -47.22)
CIE-LCHlch(24.17, 63.95, 312.40°)
OKLaboklab(36.57% 0.082 -0.1348)
OKLCHoklch(36.57% 0.158 301.3)
XYZxyz(7.6921, 4.1527, 21.5111)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D82 #50821D
analogous
#1D1D82 #4F1D82 #811D82
triadic
#4F1D82 #824F1D #1D824F
tetradic
#4F1D82 #821D1D #50821D #1D8281
square
#4F1D82 #821D1D #50821D #1D8281
split-complementary
#4F1D82 #82811D #1D821D
monochromatic
#12071E #311250 #4F1D82 #6D28B4 #8C44D5

Accessibility & contrast

On white

11.47
#4F1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1D82
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D82#FFFFFF#000000##FFFFFF
##4F1D821.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#44374E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1d82;
/* rgb */ color: rgb(79, 29, 130);
/* oklch */ color: oklch(36.6% 0.158 301.3);
Tailwind
colors: {
  custom: {
    50: '#865fa7',
    500: '#4f1d82',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d82;
$custom-light: #865fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d82",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 269.703,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36574,
    "c": 0.15778,
    "h": 301.3
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#4F1D82
secondary
#7EB546
accent
#E74195
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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