#4F1352#4F1352

#4F1352 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.121 H 325.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#4F1352
RGBrgb(79, 19, 82)
HSLhsl(297, 62%, 20%)
HSVhsv(297, 77%, 32%)
CMYKcmyk(3.7%, 76.8%, 0%, 67.8%)
CIE-LABlab(18.96, 36.41, -24.34)
CIE-LCHlch(18.96, 43.80, 326.23°)
OKLaboklab(31.72% 0.0999 -0.0676)
OKLCHoklch(31.72% 0.121 325.9)
XYZxyz(4.9802, 2.7375, 8.2471)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1352 #165213
analogous
#301352 #4F1352 #521336
triadic
#4F1352 #524F13 #13524F
tetradic
#4F1352 #523013 #165213 #133652
square
#4F1352 #523013 #165213 #133652
split-complementary
#4F1352 #365213 #135230
monochromatic
#180619 #1F0720 #4F1352 #7F1F84 #AF2AB5

Accessibility & contrast

On white

13.57
#4F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1352
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1352#FFFFFF#000000##FFFFFF
##4F13521.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052954
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#511D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1352;
/* rgb */ color: rgb(79, 19, 82);
/* oklch */ color: oklch(31.7% 0.121 325.9);
Tailwind
colors: {
  custom: {
    50: '#835783',
    500: '#4f1352',
    950: '#000000',
  },
}
SCSS
$custom: #4f1352;
$custom-light: #835783;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1352",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 297.143,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.12065,
    "h": 325.9
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#4F1352
secondary
#3A8A36
accent
#E5424A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1352

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

Preview Lab → · Contrast checker → · Palette generator →

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