#4F2280#4F2280

#4F2280 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.150 H 301.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4F2280
RGBrgb(79, 34, 128)
HSLhsl(269, 58%, 32%)
HSVhsv(269, 73%, 50%)
CMYKcmyk(38.3%, 73.4%, 0%, 49.8%)
CIE-LABlab(24.84, 40.23, -44.87)
CIE-LCHlch(24.84, 60.26, 311.88°)
OKLaboklab(37% 0.0774 -0.1279)
OKLCHoklch(37% 0.15 301.2)
XYZxyz(7.6918, 4.3648, 20.8551)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2280 #538022
analogous
#222480 #4F2280 #7E2280
triadic
#4F2280 #804F22 #22804F
tetradic
#4F2280 #802224 #538022 #22807E
square
#4F2280 #802224 #538022 #22807E
split-complementary
#4F2280 #807E22 #248022
monochromatic
#13081F #311550 #4F2280 #6D2FB0 #8B4DD0

Accessibility & contrast

On white

11.21
#4F2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2280
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2280#FFFFFF#000000##FFFFFF
##4F22801.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#44394E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2280;
/* rgb */ color: rgb(79, 34, 128);
/* oklch */ color: oklch(37.0% 0.150 301.2);
Tailwind
colors: {
  custom: {
    50: '#8561a6',
    500: '#4f2280',
    950: '#000000',
  },
}
SCSS
$custom: #4f2280;
$custom-light: #8561a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2280",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 268.723,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.14951,
    "h": 301.2
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#4F2280
secondary
#81B24B
accent
#E14797
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4F2280

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

Preview Lab → · Contrast checker → · Palette generator →

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