#4F1E88#4F1E88

#4F1E88 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.163 H 299.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4F1E88
RGBrgb(79, 30, 136)
HSLhsl(268, 64%, 33%)
HSVhsv(268, 78%, 53%)
CMYKcmyk(41.9%, 77.9%, 0%, 46.7%)
CIE-LABlab(24.85, 44.22, -49.87)
CIE-LCHlch(24.85, 66.66, 311.56°)
OKLaboklab(37.22% 0.0795 -0.1426)
OKLCHoklch(37.22% 0.163 299.1)
XYZxyz(8.1315, 4.3683, 23.7025)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E88 #57881E
analogous
#1E2288 #4F1E88 #841E88
triadic
#4F1E88 #884F1E #1E884F
tetradic
#4F1E88 #881E22 #57881E #1E8884
square
#4F1E88 #881E22 #57881E #1E8884
split-complementary
#4F1E88 #88841E #22881E
monochromatic
#150824 #321356 #4F1E88 #6C29BA #8B49D7

Accessibility & contrast

On white

11.21
#4F1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E88
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E88#FFFFFF#000000##FFFFFF
##4F1E881.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#413A52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f1e88;
/* rgb */ color: rgb(79, 30, 136);
/* oklch */ color: oklch(37.2% 0.163 299.1);
Tailwind
colors: {
  custom: {
    50: '#8660ac',
    500: '#4f1e88',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e88;
$custom-light: #8660ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e88",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 267.736,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.16326,
    "h": 299.1
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#4F1E88
secondary
#85B949
accent
#E7419A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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