#4F1989#4F1989

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

Color values

HEX#4F1989
RGBrgb(79, 25, 137)
HSLhsl(269, 69%, 32%)
HSVhsv(269, 82%, 54%)
CMYKcmyk(42.3%, 81.8%, 0%, 46.3%)
CIE-LABlab(24.21, 46.61, -51.56)
CIE-LCHlch(24.21, 69.51, 312.11°)
OKLaboklab(36.79% 0.0835 -0.1475)
OKLCHoklch(36.79% 0.169 299.5)
XYZxyz(8.0863, 4.1636, 24.0397)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1989 #538919
analogous
#191B89 #4F1989 #871989
triadic
#4F1989 #894F19 #19894F
tetradic
#4F1989 #89191B #538919 #198987
square
#4F1989 #89191B #538919 #198987
split-complementary
#4F1989 #898719 #1B8919
monochromatic
#130621 #311055 #4F1989 #6D22BD #8B40DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1989#FFFFFF#000000##FFFFFF
##4F19891.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)
#00398C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#413851
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1989;
/* rgb */ color: rgb(79, 25, 137);
/* oklch */ color: oklch(36.8% 0.169 299.5);
Tailwind
colors: {
  custom: {
    50: '#875dac',
    500: '#4f1989',
    950: '#000000',
  },
}
SCSS
$custom: #4f1989;
$custom-light: #875dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1989",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 268.929,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36792,
    "c": 0.16948,
    "h": 299.5
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#4F1989
secondary
#81BC41
accent
#EC3C97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1989

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

Preview Lab → · Contrast checker → · Palette generator →

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