#4F1E95#4F1E95

#4F1E95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.178 H 295.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4F1E95
RGBrgb(79, 30, 149)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(47%, 79.9%, 0%, 41.6%)
CIE-LABlab(26.04, 47.63, -56.00)
CIE-LCHlch(26.04, 73.51, 310.38°)
OKLaboklab(38.41% 0.0758 -0.1606)
OKLCHoklch(38.41% 0.178 295.3)
XYZxyz(9.1121, 4.7605, 28.8667)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E95 #64951E
analogous
#1E2995 #4F1E95 #8A1E95
triadic
#4F1E95 #954F1E #1E954F
tetradic
#4F1E95 #951E29 #64951E #1E958A
square
#4F1E95 #951E29 #64951E #1E958A
split-complementary
#4F1E95 #958A1E #29951E
monochromatic
#19092F #341462 #4F1E95 #6A28C8 #8A51DC

Accessibility & contrast

On white

10.76
#4F1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E95
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E95#FFFFFF#000000##FFFFFF
##4F1E951.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3B3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f1e95;
/* rgb */ color: rgb(79, 30, 149);
/* oklch */ color: oklch(38.4% 0.178 295.3);
Tailwind
colors: {
  custom: {
    50: '#8860b5',
    500: '#4f1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e95;
$custom-light: #8860b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e95",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 264.706,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.17753,
    "h": 295.3
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#4F1E95
secondary
#91BF50
accent
#E93EA3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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