#4F1952#4F1952

#4F1952 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 325.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#4F1952
RGBrgb(79, 25, 82)
HSLhsl(297, 53%, 21%)
HSVhsv(297, 70%, 32%)
CMYKcmyk(3.7%, 69.5%, 0%, 67.8%)
CIE-LABlab(19.91, 33.74, -22.84)
CIE-LCHlch(19.91, 40.74, 325.91°)
OKLaboklab(32.4% 0.0925 -0.0633)
OKLCHoklch(32.4% 0.112 325.6)
XYZxyz(5.0950, 2.9670, 8.2853)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1952 #1C5219
analogous
#321952 #4F1952 #521938
triadic
#4F1952 #524F19 #19524F
tetradic
#4F1952 #523219 #1C5219 #193852
square
#4F1952 #523219 #1C5219 #193852
split-complementary
#4F1952 #385219 #195232
monochromatic
#170717 #220B23 #4F1952 #7C2781 #A936B0

Accessibility & contrast

On white

13.18
#4F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1952
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1952#FFFFFF#000000##FFFFFF
##4F19521.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#512133
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1952;
/* rgb */ color: rgb(79, 25, 82);
/* oklch */ color: oklch(32.4% 0.112 325.6);
Tailwind
colors: {
  custom: {
    50: '#825a83',
    500: '#4f1952',
    950: '#000000',
  },
}
SCSS
$custom: #4f1952;
$custom-light: #825a83;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1952",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 296.842,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.11206,
    "h": 325.6
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#4F1952
secondary
#42883E
accent
#DD4B53
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1952

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

Preview Lab → · Contrast checker → · Palette generator →

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