#4F2976#4F2976

#4F2976 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.128 H 303.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4F2976
RGBrgb(79, 41, 118)
HSLhsl(270, 48%, 31%)
HSVhsv(270, 65%, 46%)
CMYKcmyk(33.1%, 65.3%, 0%, 53.7%)
CIE-LABlab(25.43, 33.82, -37.58)
CIE-LCHlch(25.43, 50.56, 311.99°)
OKLaboklab(37.18% 0.0704 -0.1065)
OKLCHoklch(37.18% 0.128 303.5)
XYZxyz(7.2867, 4.5562, 17.6316)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2976 #507629
analogous
#292976 #4F2976 #752976
triadic
#4F2976 #764F29 #29764F
tetradic
#4F2976 #762929 #507629 #297675
square
#4F2976 #762929 #507629 #297675
split-complementary
#4F2976 #767529 #297629
monochromatic
#12091B #311949 #4F2976 #6D39A3 #8C55C4

Accessibility & contrast

On white

10.99
#4F2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2976
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2976#FFFFFF#000000##FFFFFF
##4F29761.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#133C74
Tritanopia (blue-blind)
#48394B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2976;
/* rgb */ color: rgb(79, 41, 118);
/* oklch */ color: oklch(37.2% 0.128 303.5);
Tailwind
colors: {
  custom: {
    50: '#84659e',
    500: '#4f2976',
    950: '#000000',
  },
}
SCSS
$custom: #4f2976;
$custom-light: #84659e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2976",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 269.61,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37176,
    "c": 0.12767,
    "h": 303.5
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#4F2976
secondary
#7EA853
accent
#D85095
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4F2976

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

Preview Lab → · Contrast checker → · Palette generator →

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