#4F1E82#4F1E82

#4F1E82 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.157 H 301.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4F1E82
RGBrgb(79, 30, 130)
HSLhsl(269, 63%, 31%)
HSVhsv(269, 77%, 51%)
CMYKcmyk(39.2%, 76.9%, 0%, 49%)
CIE-LABlab(24.33, 42.67, -46.96)
CIE-LCHlch(24.33, 63.45, 312.26°)
OKLaboklab(36.69% 0.081 -0.134)
OKLCHoklch(36.69% 0.157 301.2)
XYZxyz(7.7170, 4.2025, 21.5194)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E82 #51821E
analogous
#1E1F82 #4F1E82 #811E82
triadic
#4F1E82 #824F1E #1E824F
tetradic
#4F1E82 #821E1F #51821E #1E8281
square
#4F1E82 #821E1F #51821E #1E8281
split-complementary
#4F1E82 #82811E #1F821E
monochromatic
#13071F #311350 #4F1E82 #6D29B4 #8C46D4

Accessibility & contrast

On white

11.41
#4F1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1E82
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E82#FFFFFF#000000##FFFFFF
##4F1E821.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#44384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1e82;
/* rgb */ color: rgb(79, 30, 130);
/* oklch */ color: oklch(36.7% 0.157 301.2);
Tailwind
colors: {
  custom: {
    50: '#865fa7',
    500: '#4f1e82',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e82;
$custom-light: #865fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e82",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 269.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36687,
    "c": 0.15663,
    "h": 301.2
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#4F1E82
secondary
#7FB547
accent
#E64296
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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