#4F1E96#4F1E96

#4F1E96 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.179 H 295.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#4F1E96
RGBrgb(79, 30, 150)
HSLhsl(265, 67%, 35%)
HSVhsv(265, 80%, 59%)
CMYKcmyk(47.3%, 80%, 0%, 41.2%)
CIE-LABlab(26.14, 47.89, -56.46)
CIE-LCHlch(26.14, 74.03, 310.31°)
OKLaboklab(38.51% 0.0754 -0.1619)
OKLCHoklch(38.51% 0.179 295)
XYZxyz(9.1922, 4.7926, 29.2890)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E96 #65961E
analogous
#1E2996 #4F1E96 #8B1E96
triadic
#4F1E96 #964F1E #1E964F
tetradic
#4F1E96 #961E29 #65961E #1E968B
square
#4F1E96 #961E29 #65961E #1E968B
split-complementary
#4F1E96 #968B1E #29961E
monochromatic
#190A30 #341463 #4F1E96 #6A28C9 #8B52DC

Accessibility & contrast

On white

10.72
#4F1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4F1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E96
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E96#FFFFFF#000000##FFFFFF
##4F1E961.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#3A405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f1e96;
/* rgb */ color: rgb(79, 30, 150);
/* oklch */ color: oklch(38.5% 0.179 295.0);
Tailwind
colors: {
  custom: {
    50: '#8860b6',
    500: '#4f1e96',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e96;
$custom-light: #8860b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e96",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 264.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.17862,
    "h": 295
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#4F1E96
secondary
#92BF50
accent
#EA3EA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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