#4F1C84#4F1C84

#4F1C84 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.161 H 300.8°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4F1C84
RGBrgb(79, 28, 132)
HSLhsl(269, 65%, 31%)
HSVhsv(269, 79%, 52%)
CMYKcmyk(40.2%, 78.8%, 0%, 48.2%)
CIE-LABlab(24.19, 44.08, -48.45)
CIE-LCHlch(24.19, 65.51, 312.30°)
OKLaboklab(36.64% 0.0824 -0.1384)
OKLCHoklch(36.64% 0.161 300.8)
XYZxyz(7.8035, 4.1587, 22.2169)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C84 #51841C
analogous
#1C1D84 #4F1C84 #831C84
triadic
#4F1C84 #844F1C #1C844F
tetradic
#4F1C84 #841C1D #51841C #1C8483
square
#4F1C84 #841C1D #51841C #1C8483
split-complementary
#4F1C84 #84831C #1D841C
monochromatic
#13071F #311152 #4F1C84 #6D27B6 #8C43D7

Accessibility & contrast

On white

11.46
#4F1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1C84
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C84#FFFFFF#000000##FFFFFF
##4F1C841.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#43374F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1c84;
/* rgb */ color: rgb(79, 28, 132);
/* oklch */ color: oklch(36.6% 0.161 300.8);
Tailwind
colors: {
  custom: {
    50: '#865ea9',
    500: '#4f1c84',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c84;
$custom-light: #865ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c84",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 269.423,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36642,
    "c": 0.16107,
    "h": 300.8
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#4F1C84
secondary
#7FB745
accent
#E84096
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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