#4F1B9E#4F1B9E

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

Color values

HEX#4F1B9E
RGBrgb(79, 27, 158)
HSLhsl(264, 71%, 36%)
HSVhsv(264, 83%, 62%)
CMYKcmyk(50%, 82.9%, 0%, 38%)
CIE-LABlab(26.49, 51.20, -60.78)
CIE-LCHlch(26.49, 79.47, 310.11°)
OKLaboklab(38.99% 0.0749 -0.1745)
OKLCHoklch(38.99% 0.19 293.2)
XYZxyz(9.7862, 4.9144, 32.7741)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B9E #6A9E1B
analogous
#1B289E #4F1B9E #911B9E
triadic
#4F1B9E #9E4F1B #1B9E4F
tetradic
#4F1B9E #9E1B28 #6A9E1B #1B9E91
square
#4F1B9E #9E1B28 #6A9E1B #1B9E91
split-complementary
#4F1B9E #9E911B #289E1B
monochromatic
#1B0935 #35126A #4F1B9E #6924D2 #8B52E1

Accessibility & contrast

On white

10.59
#4F1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F1B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B9E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B9E#FFFFFF#000000##FFFFFF
##4F1B9E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#35425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1b9e;
/* rgb */ color: rgb(79, 27, 158);
/* oklch */ color: oklch(39.0% 0.190 293.2);
Tailwind
colors: {
  custom: {
    50: '#895fbc',
    500: '#4f1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b9e;
$custom-light: #895fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b9e",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 263.817,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.18993,
    "h": 293.2
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#4F1B9E
secondary
#96C451
accent
#EE3AA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4F1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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