#4F1355#4F1355

#4F1355 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 324.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4F1355
RGBrgb(79, 19, 85)
HSLhsl(295, 63%, 20%)
HSVhsv(295, 78%, 33%)
CMYKcmyk(7.1%, 77.6%, 0%, 66.7%)
CIE-LABlab(19.16, 37.01, -26.05)
CIE-LCHlch(19.16, 45.26, 324.85°)
OKLaboklab(31.92% 0.0998 -0.0726)
OKLCHoklch(31.92% 0.123 324)
XYZxyz(5.0969, 2.7842, 8.8615)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1355 #195513
analogous
#2E1355 #4F1355 #55133A
triadic
#4F1355 #554F13 #13554F
tetradic
#4F1355 #552E13 #195513 #133A55
square
#4F1355 #552E13 #195513 #133A55
split-complementary
#4F1355 #3A5513 #13552E
monochromatic
#170619 #210823 #4F1355 #7D1E87 #AC29B9

Accessibility & contrast

On white

13.49
#4F1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4F1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1355
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1355#FFFFFF#000000##FFFFFF
##4F13551.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#511E32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1355;
/* rgb */ color: rgb(79, 19, 85);
/* oklch */ color: oklch(31.9% 0.123 324.0);
Tailwind
colors: {
  custom: {
    50: '#835885',
    500: '#4f1355',
    950: '#000000',
  },
}
SCSS
$custom: #4f1355;
$custom-light: #835885;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1355",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 294.545,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.12345,
    "h": 324
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#4F1355
secondary
#3E8D36
accent
#E64150
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1355

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

Preview Lab → · Contrast checker → · Palette generator →

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