#4F1C9D#4F1C9D

#4F1C9D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.188 H 293.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4F1C9D
RGBrgb(79, 28, 157)
HSLhsl(264, 70%, 36%)
HSVhsv(264, 82%, 62%)
CMYKcmyk(49.7%, 82.2%, 0%, 38.4%)
CIE-LABlab(26.53, 50.55, -60.11)
CIE-LCHlch(26.53, 78.54, 310.06°)
OKLaboklab(38.98% 0.0746 -0.1726)
OKLCHoklch(38.98% 0.188 293.4)
XYZxyz(9.7238, 4.9268, 32.3304)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C9D #6A9D1C
analogous
#1C2A9D #4F1C9D #901C9D
triadic
#4F1C9D #9D4F1C #1C9D4F
tetradic
#4F1C9D #9D1C2A #6A9D1C #1C9D90
square
#4F1C9D #9D1C2A #6A9D1C #1C9D90
split-complementary
#4F1C9D #9D901C #2A9D1C
monochromatic
#1B0935 #351369 #4F1C9D #6925D1 #8B53E0

Accessibility & contrast

On white

10.58
#4F1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F1C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1C9D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C9D#FFFFFF#000000##FFFFFF
##4F1C9D1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#36425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1c9d;
/* rgb */ color: rgb(79, 28, 157);
/* oklch */ color: oklch(39.0% 0.188 293.4);
Tailwind
colors: {
  custom: {
    50: '#8960bb',
    500: '#4f1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c9d;
$custom-light: #8960bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c9d",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 263.721,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.18801,
    "h": 293.4
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#4F1C9D
secondary
#96C351
accent
#ED3BA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4F1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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