#4F1052#4F1052

#4F1052 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.124 H 326.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4F1052
RGBrgb(79, 16, 82)
HSLhsl(297, 67%, 19%)
HSVhsv(297, 80%, 32%)
CMYKcmyk(3.7%, 80.5%, 0%, 67.8%)
CIE-LABlab(18.55, 37.58, -25.00)
CIE-LCHlch(18.55, 45.13, 326.37°)
OKLaboklab(31.42% 0.1032 -0.0695)
OKLCHoklch(31.42% 0.124 326)
XYZxyz(4.9326, 2.6424, 8.2312)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1052 #135210
analogous
#2E1052 #4F1052 #521034
triadic
#4F1052 #524F10 #10524F
tetradic
#4F1052 #522E10 #135210 #103452
square
#4F1052 #522E10 #135210 #103452
split-complementary
#4F1052 #345210 #10522E
monochromatic
#19051A #1E061F #4F1052 #801A85 #B224B8

Accessibility & contrast

On white

13.74
#4F1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1052
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1052#FFFFFF#000000##FFFFFF
##4F10521.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002854
Deuteranopia (green-blind)
#1F3050
Tritanopia (blue-blind)
#511B30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1052;
/* rgb */ color: rgb(79, 16, 82);
/* oklch */ color: oklch(31.4% 0.124 326.0);
Tailwind
colors: {
  custom: {
    50: '#835683',
    500: '#4f1052',
    950: '#000000',
  },
}
SCSS
$custom: #4f1052;
$custom-light: #835683;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1052",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 297.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.1244,
    "h": 326
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#4F1052
secondary
#368C32
accent
#EA3E45
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1052

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

Preview Lab → · Contrast checker → · Palette generator →

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