#4F2980#4F2980

#4F2980 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.140 H 299.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4F2980
RGBrgb(79, 41, 128)
HSLhsl(266, 51%, 33%)
HSVhsv(266, 68%, 50%)
CMYKcmyk(38.3%, 68%, 0%, 49.8%)
CIE-LABlab(26.18, 36.53, -42.70)
CIE-LCHlch(26.18, 56.20, 310.54°)
OKLaboklab(37.95% 0.0695 -0.1216)
OKLCHoklch(37.95% 0.14 299.8)
XYZxyz(7.9127, 4.8066, 20.9288)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2980 #5A8029
analogous
#292E80 #4F2980 #7A2980
triadic
#4F2980 #804F29 #29804F
tetradic
#4F2980 #80292E #5A8029 #29807A
square
#4F2980 #80292E #5A8029 #29807A
split-complementary
#4F2980 #807A29 #2E8029
monochromatic
#160B23 #321A52 #4F2980 #6C38AE #8B59CA

Accessibility & contrast

On white

10.71
#4F2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4F2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2980
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2980#FFFFFF#000000##FFFFFF
##4F29801.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#443D51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2980;
/* rgb */ color: rgb(79, 41, 128);
/* oklch */ color: oklch(38.0% 0.140 299.8);
Tailwind
colors: {
  custom: {
    50: '#8565a5',
    500: '#4f2980',
    950: '#000000',
  },
}
SCSS
$custom: #4f2980;
$custom-light: #8565a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2980",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 266.207,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.14005,
    "h": 299.8
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#4F2980
secondary
#88AF55
accent
#DB4D9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4F2980

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

Preview Lab → · Contrast checker → · Palette generator →

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