#4F1076#4F1076

#4F1076 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.158 H 307.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#4F1076
RGBrgb(79, 16, 118)
HSLhsl(277, 76%, 26%)
HSVhsv(277, 86%, 46%)
CMYKcmyk(33.1%, 86.4%, 0%, 53.7%)
CIE-LABlab(21.36, 45.29, -44.18)
CIE-LCHlch(21.36, 63.27, 315.71°)
OKLaboklab(34.29% 0.0964 -0.1257)
OKLCHoklch(34.29% 0.158 307.5)
XYZxyz(6.6791, 3.3409, 17.4290)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1076 #377610
analogous
#1C1076 #4F1076 #76106A
triadic
#4F1076 #764F10 #10764F
tetradic
#4F1076 #761C10 #377610 #106A76
square
#4F1076 #761C10 #377610 #106A76
split-complementary
#4F1076 #6A7610 #10761C
monochromatic
#12041B #2B0940 #4F1076 #7317AC #9720E1

Accessibility & contrast

On white

12.59
#4F1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4F1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1076
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1076#FFFFFF#000000##FFFFFF
##4F10761.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#482C45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1076;
/* rgb */ color: rgb(79, 16, 118);
/* oklch */ color: oklch(34.3% 0.158 307.5);
Tailwind
colors: {
  custom: {
    50: '#85589e',
    500: '#4f1076',
    950: '#000000',
  },
}
SCSS
$custom: #4f1076;
$custom-light: #85589e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1076",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 277.059,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.15843,
    "h": 307.5
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#4F1076
secondary
#63AD35
accent
#F3357E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #4F1076

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

Preview Lab → · Contrast checker → · Palette generator →

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