#4F1A84#4F1A84

#4F1A84 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.163 H 301.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#4F1A84
RGBrgb(79, 26, 132)
HSLhsl(270, 67%, 31%)
HSVhsv(270, 80%, 52%)
CMYKcmyk(40.2%, 80.3%, 0%, 48.2%)
CIE-LABlab(23.89, 44.94, -48.94)
CIE-LCHlch(23.89, 66.44, 312.56°)
OKLaboklab(36.43% 0.0842 -0.1398)
OKLCHoklch(36.43% 0.163 301)
XYZxyz(7.7577, 4.0669, 22.2016)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A84 #4F841A
analogous
#1A1A84 #4F1A84 #841A84
triadic
#4F1A84 #844F1A #1A844F
tetradic
#4F1A84 #841A1A #4F841A #1A8484
square
#4F1A84 #841A1A #4F841A #1A8484
split-complementary
#4F1A84 #84841A #1A841A
monochromatic
#12061E #301051 #4F1A84 #6E24B7 #8C3FD9

Accessibility & contrast

On white

11.58
#4F1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A84
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A84#FFFFFF#000000##FFFFFF
##4F1A841.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#43364F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f1a84;
/* rgb */ color: rgb(79, 26, 132);
/* oklch */ color: oklch(36.4% 0.163 301.0);
Tailwind
colors: {
  custom: {
    50: '#865da9',
    500: '#4f1a84',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a84;
$custom-light: #865da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a84",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 270,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36434,
    "c": 0.16319,
    "h": 301
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#4F1A84
secondary
#7DB842
accent
#EA3E94
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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