#4F2199#4F2199

#4F2199 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.179 H 293.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4F2199
RGBrgb(79, 33, 153)
HSLhsl(263, 65%, 36%)
HSVhsv(263, 78%, 60%)
CMYKcmyk(48.4%, 78.4%, 0%, 40%)
CIE-LABlab(26.88, 47.37, -57.09)
CIE-LCHlch(26.88, 74.18, 309.68°)
OKLaboklab(39.11% 0.0722 -0.1638)
OKLCHoklch(39.11% 0.179 293.8)
XYZxyz(9.5165, 5.0496, 30.6041)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2199 #6B9921
analogous
#212F99 #4F2199 #8B2199
triadic
#4F2199 #994F21 #21994F
tetradic
#4F2199 #99212F #6B9921 #21998B
square
#4F2199 #99212F #6B9921 #21998B
split-complementary
#4F2199 #998B21 #2F9921
monochromatic
#1B0B34 #351667 #4F2199 #692CCB #8B59DB

Accessibility & contrast

On white

10.45
#4F2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2199
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2199#FFFFFF#000000##FFFFFF
##4F21991.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#38425C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2199;
/* rgb */ color: rgb(79, 33, 153);
/* oklch */ color: oklch(39.1% 0.179 293.8);
Tailwind
colors: {
  custom: {
    50: '#8862b8',
    500: '#4f2199',
    950: '#000000',
  },
}
SCSS
$custom: #4f2199;
$custom-light: #8862b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2199",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 263,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.17897,
    "h": 293.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#4F2199
secondary
#97BF56
accent
#E840A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2199

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

Preview Lab → · Contrast checker → · Palette generator →

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