#4F1B89#4F1B89

#4F1B89 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.168 H 299.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4F1B89
RGBrgb(79, 27, 137)
HSLhsl(268, 67%, 32%)
HSVhsv(268, 80%, 54%)
CMYKcmyk(42.3%, 80.3%, 0%, 46.3%)
CIE-LABlab(24.49, 45.79, -51.10)
CIE-LCHlch(24.49, 68.61, 311.86°)
OKLaboklab(36.99% 0.0818 -0.1462)
OKLCHoklch(36.99% 0.168 299.2)
XYZxyz(8.1306, 4.2522, 24.0544)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B89 #55891B
analogous
#1B1E89 #4F1B89 #861B89
triadic
#4F1B89 #894F1B #1B894F
tetradic
#4F1B89 #891B1E #55891B #1B8986
square
#4F1B89 #891B1E #55891B #1B8986
split-complementary
#4F1B89 #89861B #1E891B
monochromatic
#140723 #321156 #4F1B89 #6C25BC #8B44DA

Accessibility & contrast

On white

11.35
#4F1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B89
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B89#FFFFFF#000000##FFFFFF
##4F1B891.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#413952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1b89;
/* rgb */ color: rgb(79, 27, 137);
/* oklch */ color: oklch(37.0% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#875eac',
    500: '#4f1b89',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b89;
$custom-light: #875eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b89",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 268.364,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.16751,
    "h": 299.2
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#4F1B89
secondary
#83BC44
accent
#EA3E99
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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