#4F1E9B#4F1E9B

#4F1E9B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.184 H 293.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4F1E9B
RGBrgb(79, 30, 155)
HSLhsl(264, 68%, 36%)
HSVhsv(264, 81%, 61%)
CMYKcmyk(49%, 80.6%, 0%, 39.2%)
CIE-LABlab(26.61, 49.21, -58.74)
CIE-LCHlch(26.61, 76.63, 309.95°)
OKLaboklab(38.98% 0.0738 -0.1686)
OKLCHoklch(38.98% 0.184 293.7)
XYZxyz(9.6035, 4.9571, 31.4548)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E9B #6A9B1E
analogous
#1E2C9B #4F1E9B #8E1E9B
triadic
#4F1E9B #9B4F1E #1E9B4F
tetradic
#4F1E9B #9B1E2C #6A9B1E #1E9B8E
square
#4F1E9B #9B1E2C #6A9B1E #1E9B8E
split-complementary
#4F1E9B #9B8E1E #2C9B1E
monochromatic
#1B0A34 #351468 #4F1E9B #6928CE #8B55DE

Accessibility & contrast

On white

10.55
#4F1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1E9B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E9B#FFFFFF#000000##FFFFFF
##4F1E9B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#37425D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1e9b;
/* rgb */ color: rgb(79, 30, 155);
/* oklch */ color: oklch(39.0% 0.184 293.7);
Tailwind
colors: {
  custom: {
    50: '#8961ba',
    500: '#4f1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e9b;
$custom-light: #8961ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e9b",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 263.52,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.18406,
    "h": 293.7
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#4F1E9B
secondary
#96C253
accent
#EA3DA7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4F1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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