#4F1C87#4F1C87

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

Color values

HEX#4F1C87
RGBrgb(79, 28, 135)
HSLhsl(269, 66%, 32%)
HSVhsv(269, 79%, 53%)
CMYKcmyk(41.5%, 79.3%, 0%, 47.1%)
CIE-LABlab(24.46, 44.85, -49.90)
CIE-LCHlch(24.46, 67.09, 311.95°)
OKLaboklab(36.91% 0.0816 -0.1426)
OKLCHoklch(36.91% 0.164 299.8)
XYZxyz(8.0118, 4.2420, 23.3136)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C87 #54871C
analogous
#1C1F87 #4F1C87 #851C87
triadic
#4F1C87 #874F1C #1C874F
tetradic
#4F1C87 #871C1F #54871C #1C8785
square
#4F1C87 #871C1F #54871C #1C8785
split-complementary
#4F1C87 #87851C #1F871C
monochromatic
#140722 #311154 #4F1C87 #6D27BA #8B45D8

Accessibility & contrast

On white

11.36
#4F1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1C87
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C87#FFFFFF#000000##FFFFFF
##4F1C871.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#423951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1c87;
/* rgb */ color: rgb(79, 28, 135);
/* oklch */ color: oklch(36.9% 0.164 299.8);
Tailwind
colors: {
  custom: {
    50: '#865eab',
    500: '#4f1c87',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c87;
$custom-light: #865eab;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c87",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 268.598,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36911,
    "c": 0.16432,
    "h": 299.8
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#4F1C87
secondary
#82BA45
accent
#E93F98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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