#4F1B88#4F1B88

#4F1B88 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.166 H 299.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4F1B88
RGBrgb(79, 27, 136)
HSLhsl(269, 67%, 32%)
HSVhsv(269, 80%, 53%)
CMYKcmyk(41.9%, 80.1%, 0%, 46.7%)
CIE-LABlab(24.40, 45.54, -50.62)
CIE-LCHlch(24.40, 68.09, 311.97°)
OKLaboklab(36.9% 0.0821 -0.1448)
OKLCHoklch(36.9% 0.166 299.6)
XYZxyz(8.0592, 4.2236, 23.6784)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B88 #54881B
analogous
#1B1E88 #4F1B88 #861B88
triadic
#4F1B88 #884F1B #1B884F
tetradic
#4F1B88 #881B1E #54881B #1B8886
square
#4F1B88 #881B1E #54881B #1B8886
split-complementary
#4F1B88 #88861B #1E881B
monochromatic
#140722 #311155 #4F1B88 #6D25BB #8B44DA

Accessibility & contrast

On white

11.38
#4F1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4F1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B88
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B88#FFFFFF#000000##FFFFFF
##4F1B881.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#413951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1b88;
/* rgb */ color: rgb(79, 27, 136);
/* oklch */ color: oklch(36.9% 0.166 299.6);
Tailwind
colors: {
  custom: {
    50: '#865eac',
    500: '#4f1b88',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b88;
$custom-light: #865eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b88",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 268.624,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.16644,
    "h": 299.6
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#4F1B88
secondary
#82BB44
accent
#EA3E98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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