#4F1774#4F1774

#4F1774 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.150 H 307.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#4F1774
RGBrgb(79, 23, 116)
HSLhsl(276, 67%, 27%)
HSVhsv(276, 80%, 45%)
CMYKcmyk(31.9%, 80.2%, 0%, 54.5%)
CIE-LABlab(22.07, 42.25, -41.73)
CIE-LCHlch(22.07, 59.39, 315.36°)
OKLaboklab(34.73% 0.0911 -0.1186)
OKLCHoklch(34.73% 0.15 307.5)
XYZxyz(6.6826, 3.5361, 16.8501)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1774 #3C7417
analogous
#211774 #4F1774 #74176B
triadic
#4F1774 #744F17 #17744F
tetradic
#4F1774 #742117 #3C7417 #176B74
square
#4F1774 #742117 #3C7417 #176B74
split-complementary
#4F1774 #6B7417 #177421
monochromatic
#11051A #2C0D41 #4F1774 #7221A7 #9430D6

Accessibility & contrast

On white

12.30
#4F1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1774
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1774#FFFFFF#000000##FFFFFF
##4F17741.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#492E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1774;
/* rgb */ color: rgb(79, 23, 116);
/* oklch */ color: oklch(34.7% 0.150 307.5);
Tailwind
colors: {
  custom: {
    50: '#855b9d',
    500: '#4f1774',
    950: '#000000',
  },
}
SCSS
$custom: #4f1774;
$custom-light: #855b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1774",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 276.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.14956,
    "h": 307.5
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#4F1774
secondary
#68A93D
accent
#EA3E82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F1774

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

Preview Lab → · Contrast checker → · Palette generator →

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