#4F1677#4F1677

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

Color values

HEX#4F1677
RGBrgb(79, 22, 119)
HSLhsl(275, 69%, 28%)
HSVhsv(275, 82%, 47%)
CMYKcmyk(33.6%, 81.5%, 0%, 53.3%)
CIE-LABlab(22.19, 43.37, -43.47)
CIE-LCHlch(22.19, 61.41, 314.94°)
OKLaboklab(34.89% 0.0913 -0.1237)
OKLCHoklch(34.89% 0.154 306.4)
XYZxyz(6.8404, 3.5681, 17.7775)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1677 #3E7716
analogous
#1F1677 #4F1677 #77166E
triadic
#4F1677 #774F16 #16774F
tetradic
#4F1677 #771F16 #3E7716 #166E77
square
#4F1677 #771F16 #3E7716 #166E77
split-complementary
#4F1677 #6E7716 #16771F
monochromatic
#11051A #2D0C43 #4F1677 #7120AB #932FD9

Accessibility & contrast

On white

12.25
#4F1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1677
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1677#FFFFFF#000000##FFFFFF
##4F16771.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#482F46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1677;
/* rgb */ color: rgb(79, 22, 119);
/* oklch */ color: oklch(34.9% 0.154 306.4);
Tailwind
colors: {
  custom: {
    50: '#855b9f',
    500: '#4f1677',
    950: '#000000',
  },
}
SCSS
$custom: #4f1677;
$custom-light: #855b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1677",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 275.258,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3489,
    "c": 0.15372,
    "h": 306.4
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#4F1677
secondary
#6BAC3C
accent
#EC3C85
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4F1677

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

Preview Lab → · Contrast checker → · Palette generator →

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