#4F1E83#4F1E83

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

Color values

HEX#4F1E83
RGBrgb(79, 30, 131)
HSLhsl(269, 63%, 32%)
HSVhsv(269, 77%, 51%)
CMYKcmyk(39.7%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.42, 42.93, -47.45)
CIE-LCHlch(24.42, 63.99, 312.14°)
OKLaboklab(36.77% 0.0808 -0.1355)
OKLCHoklch(36.77% 0.158 300.8)
XYZxyz(7.7844, 4.2294, 21.8746)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E83 #52831E
analogous
#1E2083 #4F1E83 #821E83
triadic
#4F1E83 #834F1E #1E834F
tetradic
#4F1E83 #831E20 #52831E #1E8382
square
#4F1E83 #831E20 #52831E #1E8382
split-complementary
#4F1E83 #83821E #20831E
monochromatic
#13071F #311351 #4F1E83 #6D29B5 #8C47D5

Accessibility & contrast

On white

11.38
#4F1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E83
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E83#FFFFFF#000000##FFFFFF
##4F1E831.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#43384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1e83;
/* rgb */ color: rgb(79, 30, 131);
/* oklch */ color: oklch(36.8% 0.158 300.8);
Tailwind
colors: {
  custom: {
    50: '#865fa8',
    500: '#4f1e83',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e83;
$custom-light: #865fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e83",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 269.109,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.15774,
    "h": 300.8
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#4F1E83
secondary
#80B647
accent
#E64296
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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