#4F1773#4F1773

#4F1773 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.149 H 307.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4F1773
RGBrgb(79, 23, 115)
HSLhsl(277, 67%, 27%)
HSVhsv(277, 80%, 45%)
CMYKcmyk(31.3%, 80%, 0%, 54.9%)
CIE-LABlab(21.99, 42.01, -41.22)
CIE-LCHlch(21.99, 58.86, 315.54°)
OKLaboklab(34.65% 0.0913 -0.1171)
OKLCHoklch(34.65% 0.149 307.9)
XYZxyz(6.6247, 3.5130, 16.5454)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1773 #3B7317
analogous
#211773 #4F1773 #731769
triadic
#4F1773 #734F17 #17734F
tetradic
#4F1773 #732117 #3B7317 #176973
square
#4F1773 #732117 #3B7317 #176973
split-complementary
#4F1773 #697317 #177321
monochromatic
#12051A #2C0D40 #4F1773 #7221A6 #942FD5

Accessibility & contrast

On white

12.33
#4F1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4F1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1773
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1773#FFFFFF#000000##FFFFFF
##4F17731.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#492E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1773;
/* rgb */ color: rgb(79, 23, 115);
/* oklch */ color: oklch(34.6% 0.149 307.9);
Tailwind
colors: {
  custom: {
    50: '#855b9c',
    500: '#4f1773',
    950: '#000000',
  },
}
SCSS
$custom: #4f1773;
$custom-light: #855b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1773",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 276.522,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.14852,
    "h": 307.9
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#4F1773
secondary
#67A93D
accent
#EA3E81
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1773

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

Preview Lab → · Contrast checker → · Palette generator →

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