#4F2080#4F2080

#4F2080 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.152 H 301.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4F2080
RGBrgb(79, 32, 128)
HSLhsl(269, 60%, 31%)
HSVhsv(269, 75%, 50%)
CMYKcmyk(38.3%, 75%, 0%, 49.8%)
CIE-LABlab(24.49, 41.21, -45.44)
CIE-LCHlch(24.49, 61.34, 312.21°)
OKLaboklab(36.75% 0.0795 -0.1296)
OKLCHoklch(36.75% 0.152 301.5)
XYZxyz(7.6363, 4.2538, 20.8366)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2080 #518020
analogous
#202180 #4F2080 #7F2080
triadic
#4F2080 #804F20 #20804F
tetradic
#4F2080 #802021 #518020 #20807F
square
#4F2080 #802021 #518020 #20807F
split-complementary
#4F2080 #807F20 #218020
monochromatic
#13081E #31144F #4F2080 #6D2CB1 #8C49D1

Accessibility & contrast

On white

11.35
#4F2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2080
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2080#FFFFFF#000000##FFFFFF
##4F20801.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2080;
/* rgb */ color: rgb(79, 32, 128);
/* oklch */ color: oklch(36.7% 0.152 301.5);
Tailwind
colors: {
  custom: {
    50: '#8560a6',
    500: '#4f2080',
    950: '#000000',
  },
}
SCSS
$custom: #4f2080;
$custom-light: #8560a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2080",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 269.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36749,
    "c": 0.15202,
    "h": 301.5
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#4F2080
secondary
#7FB349
accent
#E34596
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #4F2080

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

Preview Lab → · Contrast checker → · Palette generator →

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