#4F2889#4F2889

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

Color values

HEX#4F2889
RGBrgb(79, 40, 137)
HSLhsl(264, 55%, 35%)
HSVhsv(264, 71%, 54%)
CMYKcmyk(42.3%, 70.8%, 0%, 46.3%)
CIE-LABlab(26.69, 39.55, -47.50)
CIE-LCHlch(26.69, 61.81, 309.78°)
OKLaboklab(38.55% 0.0693 -0.1357)
OKLCHoklch(38.55% 0.152 297.1)
XYZxyz(8.4974, 4.9858, 24.1767)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2889 #628928
analogous
#283189 #4F2889 #802889
triadic
#4F2889 #894F28 #28894F
tetradic
#4F2889 #892831 #628928 #288980
square
#4F2889 #892831 #628928 #288980
split-complementary
#4F2889 #898028 #318928
monochromatic
#180C2A #341A5A #4F2889 #6A36B8 #8A5CCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F2889#FFFFFF#000000##FFFFFF
##4F28891.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)
#003F8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#404055
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2889;
/* rgb */ color: rgb(79, 40, 137);
/* oklch */ color: oklch(38.5% 0.152 297.1);
Tailwind
colors: {
  custom: {
    50: '#8665ac',
    500: '#4f2889',
    950: '#000000',
  },
}
SCSS
$custom: #4f2889;
$custom-light: #8665ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2889",
  "rgb": {
    "r": 79,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 264.124,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.15236,
    "h": 297.1
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#4F2889
secondary
#8FB558
accent
#DE4AA2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2889

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

Preview Lab → · Contrast checker → · Palette generator →

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