#4F2D99#4F2D99

#4F2D99 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.165 H 291.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2D99
RGBrgb(79, 45, 153)
HSLhsl(259, 55%, 39%)
HSVhsv(259, 71%, 60%)
CMYKcmyk(48.4%, 70.6%, 0%, 40%)
CIE-LABlab(29.00, 41.37, -53.61)
CIE-LCHlch(29.00, 67.71, 307.66°)
OKLaboklab(40.61% 0.0613 -0.1536)
OKLCHoklch(40.61% 0.165 291.8)
XYZxyz(9.9110, 5.8386, 30.7356)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2D99 #77992D
analogous
#2D4199 #4F2D99 #852D99
triadic
#4F2D99 #994F2D #2D994F
tetradic
#4F2D99 #992D41 #77992D #2D9985
square
#4F2D99 #992D41 #77992D #2D9985
split-complementary
#4F2D99 #99852D #41992D
monochromatic
#1E113A #371F6A #4F2D99 #683DC6 #8D6CD4

Accessibility & contrast

On white

9.69
#4F2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2D99
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2D99#FFFFFF#000000##FFFFFF
##4F2D991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#38485F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2d99;
/* rgb */ color: rgb(79, 45, 153);
/* oklch */ color: oklch(40.6% 0.165 291.8);
Tailwind
colors: {
  custom: {
    50: '#8769b8',
    500: '#4f2d99',
    950: '#000000',
  },
}
SCSS
$custom: #4f2d99;
$custom-light: #8769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2d99",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 258.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.16543,
    "h": 291.8
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#4F2D99
secondary
#A0BB67
accent
#DE4AAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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