#4F2899#4F2899

#4F2899 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.171 H 292.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4F2899
RGBrgb(79, 40, 153)
HSLhsl(261, 59%, 38%)
HSVhsv(261, 74%, 60%)
CMYKcmyk(48.4%, 73.9%, 0%, 40%)
CIE-LABlab(28.06, 44.00, -55.15)
CIE-LCHlch(28.06, 70.55, 308.58°)
OKLaboklab(39.94% 0.0661 -0.1581)
OKLCHoklch(39.94% 0.171 292.7)
XYZxyz(9.7314, 5.4794, 30.6757)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2899 #729928
analogous
#283999 #4F2899 #872899
triadic
#4F2899 #994F28 #28994F
tetradic
#4F2899 #992839 #729928 #289987
square
#4F2899 #992839 #729928 #289987
split-complementary
#4F2899 #998728 #399928
monochromatic
#1D0F38 #361B68 #4F2899 #6835CA #8C65D7

Accessibility & contrast

On white

10.02
#4F2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2899
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2899#FFFFFF#000000##FFFFFF
##4F28991.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#38465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2899;
/* rgb */ color: rgb(79, 40, 153);
/* oklch */ color: oklch(39.9% 0.171 292.7);
Tailwind
colors: {
  custom: {
    50: '#8866b8',
    500: '#4f2899',
    950: '#000000',
  },
}
SCSS
$custom: #4f2899;
$custom-light: #8866b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2899",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 260.708,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.1714,
    "h": 292.7
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#4F2899
secondary
#9DBD60
accent
#E246AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2899

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

Preview Lab → · Contrast checker → · Palette generator →

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