#4F2099#4F2099

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

Color values

HEX#4F2099
RGBrgb(79, 32, 153)
HSLhsl(263, 65%, 36%)
HSVhsv(263, 79%, 60%)
CMYKcmyk(48.4%, 79.1%, 0%, 40%)
CIE-LABlab(26.72, 47.81, -57.34)
CIE-LCHlch(26.72, 74.66, 309.82°)
OKLaboklab(39% 0.073 -0.1645)
OKLCHoklch(39% 0.18 293.9)
XYZxyz(9.4891, 4.9949, 30.5950)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2099 #6A9920
analogous
#202E99 #4F2099 #8C2099
triadic
#4F2099 #994F20 #20994F
tetradic
#4F2099 #99202E #6A9920 #20998C
square
#4F2099 #99202E #6A9920 #20998C
split-complementary
#4F2099 #998C20 #2E9920
monochromatic
#1B0B34 #351566 #4F2099 #692BCC #8B57DC

Accessibility & contrast

On white

10.51
#4F2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2099
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2099#FFFFFF#000000##FFFFFF
##4F20991.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#38425C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2099;
/* rgb */ color: rgb(79, 32, 153);
/* oklch */ color: oklch(39.0% 0.180 293.9);
Tailwind
colors: {
  custom: {
    50: '#8861b8',
    500: '#4f2099',
    950: '#000000',
  },
}
SCSS
$custom: #4f2099;
$custom-light: #8861b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2099",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 263.306,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.17996,
    "h": 293.9
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#4F2099
secondary
#96C055
accent
#E83FA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2099

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

Preview Lab → · Contrast checker → · Palette generator →

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