#4F1E94#4F1E94

#4F1E94 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 295.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4F1E94
RGBrgb(79, 30, 148)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(46.6%, 79.7%, 0%, 42%)
CIE-LABlab(25.95, 47.36, -55.53)
CIE-LCHlch(25.95, 72.99, 310.46°)
OKLaboklab(38.32% 0.0761 -0.1592)
OKLCHoklch(38.32% 0.176 295.5)
XYZxyz(9.0326, 4.7287, 28.4481)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E94 #63941E
analogous
#1E2894 #4F1E94 #8A1E94
triadic
#4F1E94 #944F1E #1E944F
tetradic
#4F1E94 #941E28 #63941E #1E948A
square
#4F1E94 #941E28 #63941E #1E948A
split-complementary
#4F1E94 #948A1E #28941E
monochromatic
#19092E #341461 #4F1E94 #6A28C7 #8A51DC

Accessibility & contrast

On white

10.79
#4F1E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1E94
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E94#FFFFFF#000000##FFFFFF
##4F1E941.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#3B3F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f1e94;
/* rgb */ color: rgb(79, 30, 148);
/* oklch */ color: oklch(38.3% 0.176 295.5);
Tailwind
colors: {
  custom: {
    50: '#8860b4',
    500: '#4f1e94',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e94;
$custom-light: #8860b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e94",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 264.915,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.17644,
    "h": 295.5
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#4F1E94
secondary
#90BF4F
accent
#E93FA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E94

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

Preview Lab → · Contrast checker → · Palette generator →

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