#4F1353#4F1353

#4F1353 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 325.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4F1353
RGBrgb(79, 19, 83)
HSLhsl(296, 63%, 20%)
HSVhsv(296, 77%, 33%)
CMYKcmyk(4.8%, 77.1%, 0%, 67.5%)
CIE-LABlab(19.03, 36.60, -24.92)
CIE-LCHlch(19.03, 44.28, 325.76°)
OKLaboklab(31.79% 0.0999 -0.0693)
OKLCHoklch(31.79% 0.122 325.3)
XYZxyz(5.0185, 2.7529, 8.4490)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1353 #175313
analogous
#2F1353 #4F1353 #531337
triadic
#4F1353 #534F13 #13534F
tetradic
#4F1353 #532F13 #175313 #133753
square
#4F1353 #532F13 #175313 #133753
split-complementary
#4F1353 #375313 #13532F
monochromatic
#180619 #200821 #4F1353 #7E1E85 #AE2AB7

Accessibility & contrast

On white

13.54
#4F1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1353
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1353#FFFFFF#000000##FFFFFF
##4F13531.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032955
Deuteranopia (green-blind)
#203151
Tritanopia (blue-blind)
#511E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1353;
/* rgb */ color: rgb(79, 19, 83);
/* oklch */ color: oklch(31.8% 0.122 325.3);
Tailwind
colors: {
  custom: {
    50: '#835884',
    500: '#4f1353',
    950: '#000000',
  },
}
SCSS
$custom: #4f1353;
$custom-light: #835884;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1353",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 296.25,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.31785,
    "c": 0.12158,
    "h": 325.3
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#4F1353
secondary
#3C8B36
accent
#E6424C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1353

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

Preview Lab → · Contrast checker → · Palette generator →

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