#4F1776#4F1776

#4F1776 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.152 H 306.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#4F1776
RGBrgb(79, 23, 118)
HSLhsl(275, 67%, 28%)
HSVhsv(275, 81%, 46%)
CMYKcmyk(33.1%, 80.5%, 0%, 53.7%)
CIE-LABlab(22.24, 42.73, -42.74)
CIE-LCHlch(22.24, 60.44, 314.99°)
OKLaboklab(34.9% 0.0906 -0.1216)
OKLCHoklch(34.9% 0.152 306.7)
XYZxyz(6.8001, 3.5831, 17.4694)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1776 #3E7617
analogous
#1F1776 #4F1776 #76176E
triadic
#4F1776 #764F17 #17764F
tetradic
#4F1776 #761F17 #3E7617 #176E76
square
#4F1776 #761F17 #3E7617 #176E76
split-complementary
#4F1776 #6E7617 #17761F
monochromatic
#11051A #2D0D43 #4F1776 #7121A9 #9331D7

Accessibility & contrast

On white

12.23
#4F1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4F1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1776
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1776#FFFFFF#000000##FFFFFF
##4F17761.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1776;
/* rgb */ color: rgb(79, 23, 118);
/* oklch */ color: oklch(34.9% 0.152 306.7);
Tailwind
colors: {
  custom: {
    50: '#855b9e',
    500: '#4f1776',
    950: '#000000',
  },
}
SCSS
$custom: #4f1776;
$custom-light: #855b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1776",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 275.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34901,
    "c": 0.15163,
    "h": 306.7
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#4F1776
secondary
#6BAB3E
accent
#EA3E84
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1776

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

Preview Lab → · Contrast checker → · Palette generator →

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