#4F1E89#4F1E89

#4F1E89 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.164 H 298.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#4F1E89
RGBrgb(79, 30, 137)
HSLhsl(267, 64%, 33%)
HSVhsv(267, 78%, 54%)
CMYKcmyk(42.3%, 78.1%, 0%, 46.3%)
CIE-LABlab(24.94, 44.49, -50.35)
CIE-LCHlch(24.94, 67.19, 311.46°)
OKLaboklab(37.31% 0.0793 -0.144)
OKLCHoklch(37.31% 0.164 298.8)
XYZxyz(8.2029, 4.3968, 24.0786)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E89 #58891E
analogous
#1E2289 #4F1E89 #851E89
triadic
#4F1E89 #894F1E #1E894F
tetradic
#4F1E89 #891E22 #58891E #1E8985
square
#4F1E89 #891E22 #58891E #1E8985
split-complementary
#4F1E89 #89851E #22891E
monochromatic
#150825 #321357 #4F1E89 #6C29BB #8B4AD7

Accessibility & contrast

On white

11.17
#4F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E89
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E89#FFFFFF#000000##FFFFFF
##4F1E891.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1e89;
/* rgb */ color: rgb(79, 30, 137);
/* oklch */ color: oklch(37.3% 0.164 298.8);
Tailwind
colors: {
  custom: {
    50: '#8660ac',
    500: '#4f1e89',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e89;
$custom-light: #8660ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e89",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 267.477,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.16437,
    "h": 298.8
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#4F1E89
secondary
#86BA49
accent
#E7419B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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