#4F1D9E#4F1D9E

#4F1D9E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.188 H 293.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4F1D9E
RGBrgb(79, 29, 158)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 82%, 62%)
CMYKcmyk(50%, 81.6%, 0%, 38%)
CIE-LABlab(26.76, 50.41, -60.33)
CIE-LCHlch(26.76, 78.62, 309.88°)
OKLaboklab(39.17% 0.0736 -0.1732)
OKLCHoklch(39.17% 0.188 293)
XYZxyz(9.8336, 5.0093, 32.7899)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D9E #6C9E1D
analogous
#1D2B9E #4F1D9E #901D9E
triadic
#4F1D9E #9E4F1D #1D9E4F
tetradic
#4F1D9E #9E1D2B #6C9E1D #1D9E90
square
#4F1D9E #9E1D2B #6C9E1D #1D9E90
split-complementary
#4F1D9E #9E901D #2B9E1D
monochromatic
#1B0A37 #35146A #4F1D9E #6926D2 #8B56E0

Accessibility & contrast

On white

10.49
#4F1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1D9E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D9E#FFFFFF#000000##FFFFFF
##4F1D9E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#35435E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f1d9e;
/* rgb */ color: rgb(79, 29, 158);
/* oklch */ color: oklch(39.2% 0.188 293.0);
Tailwind
colors: {
  custom: {
    50: '#8960bc',
    500: '#4f1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d9e;
$custom-light: #8960bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d9e",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 263.256,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.18821,
    "h": 293
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#4F1D9E
secondary
#98C354
accent
#EC3CA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4F1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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