#4F1151#4F1151

#4F1151 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.4% C 0.122 H 326.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4F1151
RGBrgb(79, 17, 81)
HSLhsl(298, 65%, 19%)
HSVhsv(298, 79%, 32%)
CMYKcmyk(2.5%, 79%, 0%, 68.2%)
CIE-LABlab(18.62, 37.01, -24.21)
CIE-LCHlch(18.62, 44.22, 326.80°)
OKLaboklab(31.45% 0.1022 -0.0672)
OKLCHoklch(31.45% 0.122 326.6)
XYZxyz(4.9100, 2.6576, 8.0373)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1151 #135111
analogous
#2F1151 #4F1151 #511133
triadic
#4F1151 #514F11 #11514F
tetradic
#4F1151 #512F11 #135111 #113351
square
#4F1151 #512F11 #135111 #113351
split-complementary
#4F1151 #335111 #11512F
monochromatic
#190519 #1E061E #4F1151 #801C84 #B226B6

Accessibility & contrast

On white

13.71
#4F1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1151
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1151#FFFFFF#000000##FFFFFF
##4F11511.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032853
Deuteranopia (green-blind)
#20304F
Tritanopia (blue-blind)
#511B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1151;
/* rgb */ color: rgb(79, 17, 81);
/* oklch */ color: oklch(31.4% 0.122 326.6);
Tailwind
colors: {
  custom: {
    50: '#835782',
    500: '#4f1151',
    950: '#000000',
  },
}
SCSS
$custom: #4f1151;
$custom-light: #835782;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1151",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 298.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3145,
    "c": 0.12229,
    "h": 326.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#4F1151
secondary
#368A34
accent
#E84045
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1151

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

Preview Lab → · Contrast checker → · Palette generator →

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