#4F2076#4F2076

#4F2076 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.141 H 305.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#4F2076
RGBrgb(79, 32, 118)
HSLhsl(273, 57%, 29%)
HSVhsv(273, 73%, 46%)
CMYKcmyk(33.1%, 72.9%, 0%, 53.7%)
CIE-LABlab(23.68, 38.64, -40.40)
CIE-LCHlch(23.68, 55.91, 313.72°)
OKLaboklab(35.92% 0.0814 -0.1148)
OKLCHoklch(35.92% 0.141 305.3)
XYZxyz(7.0102, 4.0033, 17.5394)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2076 #477620
analogous
#242076 #4F2076 #762072
triadic
#4F2076 #764F20 #20764F
tetradic
#4F2076 #762420 #477620 #207276
square
#4F2076 #762420 #477620 #207276
split-complementary
#4F2076 #727620 #207624
monochromatic
#100718 #2F1346 #4F2076 #6F2DA6 #8F44CC

Accessibility & contrast

On white

11.66
#4F2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2076
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2076#FFFFFF#000000##FFFFFF
##4F20761.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#483448
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4f2076;
/* rgb */ color: rgb(79, 32, 118);
/* oklch */ color: oklch(35.9% 0.141 305.3);
Tailwind
colors: {
  custom: {
    50: '#84609e',
    500: '#4f2076',
    950: '#000000',
  },
}
SCSS
$custom: #4f2076;
$custom-light: #84609e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2076",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 272.791,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.14068,
    "h": 305.3
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#4F2076
secondary
#74A948
accent
#E1478D
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2076

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

Preview Lab → · Contrast checker → · Palette generator →

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