#4F1884#4F1884

#4F1884 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.165 H 301.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#4F1884
RGBrgb(79, 24, 132)
HSLhsl(271, 69%, 31%)
HSVhsv(271, 82%, 52%)
CMYKcmyk(40.2%, 81.8%, 0%, 48.2%)
CIE-LABlab(23.61, 45.76, -49.40)
CIE-LCHlch(23.61, 67.33, 312.81°)
OKLaboklab(36.24% 0.0858 -0.1411)
OKLCHoklch(36.24% 0.165 301.3)
XYZxyz(7.7149, 3.9814, 22.1874)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1884 #4D8418
analogous
#191884 #4F1884 #841883
triadic
#4F1884 #844F18 #18844F
tetradic
#4F1884 #841918 #4D8418 #188384
square
#4F1884 #841918 #4D8418 #188384
split-complementary
#4F1884 #838418 #188419
monochromatic
#11051C #300F50 #4F1884 #6E21B8 #8D3BDB

Accessibility & contrast

On white

11.69
#4F1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4F1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1884
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1884#FFFFFF#000000##FFFFFF
##4F18841.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1884;
/* rgb */ color: rgb(79, 24, 132);
/* oklch */ color: oklch(36.2% 0.165 301.3);
Tailwind
colors: {
  custom: {
    50: '#865ca9',
    500: '#4f1884',
    950: '#000000',
  },
}
SCSS
$custom: #4f1884;
$custom-light: #865ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1884",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 270.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36237,
    "c": 0.1652,
    "h": 301.3
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#4F1884
secondary
#7BB840
accent
#EC3C92
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4F1884

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

Preview Lab → · Contrast checker → · Palette generator →

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