#4F1996#4F1996

#4F1996 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.183 H 295.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4F1996
RGBrgb(79, 25, 150)
HSLhsl(266, 71%, 34%)
HSVhsv(266, 83%, 59%)
CMYKcmyk(47.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(25.44, 49.91, -57.60)
CIE-LCHlch(25.44, 76.22, 310.91°)
OKLaboklab(38.03% 0.0791 -0.1652)
OKLCHoklch(38.03% 0.183 295.6)
XYZxyz(9.0756, 4.5593, 29.2501)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1996 #609619
analogous
#192196 #4F1996 #8E1996
triadic
#4F1996 #964F19 #19964F
tetradic
#4F1996 #961921 #609619 #19968E
square
#4F1996 #961921 #609619 #19968E
split-complementary
#4F1996 #968E19 #219619
monochromatic
#18082D #331062 #4F1996 #6B22CA #8A49E1

Accessibility & contrast

On white

10.98
#4F1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1996
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1996#FFFFFF#000000##FFFFFF
##4F19961.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#3A3E59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f1996;
/* rgb */ color: rgb(79, 25, 150);
/* oklch */ color: oklch(38.0% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#885eb6',
    500: '#4f1996',
    950: '#000000',
  },
}
SCSS
$custom: #4f1996;
$custom-light: #885eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1996",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 265.92,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38025,
    "c": 0.18316,
    "h": 295.6
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#4F1996
secondary
#8EC249
accent
#EE3AA0
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1996

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

Preview Lab → · Contrast checker → · Palette generator →

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