#4F2399#4F2399

#4F2399 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.177 H 293.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4F2399
RGBrgb(79, 35, 153)
HSLhsl(262, 63%, 37%)
HSVhsv(262, 77%, 60%)
CMYKcmyk(48.4%, 77.1%, 0%, 40%)
CIE-LABlab(27.20, 46.45, -56.56)
CIE-LCHlch(27.20, 73.19, 309.39°)
OKLaboklab(39.33% 0.0705 -0.1622)
OKLCHoklch(39.33% 0.177 293.5)
XYZxyz(9.5737, 5.1639, 30.6231)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2399 #6D9923
analogous
#233299 #4F2399 #8A2399
triadic
#4F2399 #994F23 #23994F
tetradic
#4F2399 #992332 #6D9923 #23998A
square
#4F2399 #992332 #6D9923 #23998A
split-complementary
#4F2399 #998A23 #329923
monochromatic
#1C0C35 #351867 #4F2399 #692ECB #8B5DDA

Accessibility & contrast

On white

10.33
#4F2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2399
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2399#FFFFFF#000000##FFFFFF
##4F23991.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#38435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2399;
/* rgb */ color: rgb(79, 35, 153);
/* oklch */ color: oklch(39.3% 0.177 293.5);
Tailwind
colors: {
  custom: {
    50: '#8863b8',
    500: '#4f2399',
    950: '#000000',
  },
}
SCSS
$custom: #4f2399;
$custom-light: #8863b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2399",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 262.373,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.1769,
    "h": 293.5
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#4F2399
secondary
#99BE59
accent
#E642A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2399

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

Preview Lab → · Contrast checker → · Palette generator →

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