#4F1676#4F1676

#4F1676 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 306.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#4F1676
RGBrgb(79, 22, 118)
HSLhsl(276, 69%, 27%)
HSVhsv(276, 81%, 46%)
CMYKcmyk(33.1%, 81.4%, 0%, 53.7%)
CIE-LABlab(22.10, 43.13, -42.97)
CIE-LCHlch(22.10, 60.88, 315.11°)
OKLaboklab(34.8% 0.0915 -0.1222)
OKLCHoklch(34.8% 0.153 306.8)
XYZxyz(6.7807, 3.5442, 17.4629)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1676 #3D7616
analogous
#1F1676 #4F1676 #76166D
triadic
#4F1676 #764F16 #16764F
tetradic
#4F1676 #761F16 #3D7616 #166D76
square
#4F1676 #761F16 #3D7616 #166D76
split-complementary
#4F1676 #6D7616 #16761F
monochromatic
#11051A #2C0C42 #4F1676 #7220AA #932ED8

Accessibility & contrast

On white

12.29
#4F1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4F1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1676
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1676#FFFFFF#000000##FFFFFF
##4F16761.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#482F46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1676;
/* rgb */ color: rgb(79, 22, 118);
/* oklch */ color: oklch(34.8% 0.153 306.8);
Tailwind
colors: {
  custom: {
    50: '#855b9e',
    500: '#4f1676',
    950: '#000000',
  },
}
SCSS
$custom: #4f1676;
$custom-light: #855b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1676",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 275.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34803,
    "c": 0.1527,
    "h": 306.8
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#4F1676
secondary
#69AC3C
accent
#EB3C83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1676

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

Preview Lab → · Contrast checker → · Palette generator →

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