#4F1452#4F1452

#4F1452 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.119 H 325.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4F1452
RGBrgb(79, 20, 82)
HSLhsl(297, 61%, 20%)
HSVhsv(297, 76%, 32%)
CMYKcmyk(3.7%, 75.6%, 0%, 67.8%)
CIE-LABlab(19.11, 35.99, -24.11)
CIE-LCHlch(19.11, 43.32, 326.18°)
OKLaboklab(31.82% 0.0988 -0.0669)
OKLCHoklch(31.82% 0.119 325.9)
XYZxyz(4.9975, 2.7721, 8.2529)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1452 #175214
analogous
#301452 #4F1452 #521436
triadic
#4F1452 #524F14 #14524F
tetradic
#4F1452 #523014 #175214 #143652
square
#4F1452 #523014 #175214 #143652
split-complementary
#4F1452 #365214 #145230
monochromatic
#180619 #200821 #4F1452 #7E2083 #AE2CB4

Accessibility & contrast

On white

13.51
#4F1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1452
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1452#FFFFFF#000000##FFFFFF
##4F14521.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#511E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1452;
/* rgb */ color: rgb(79, 20, 82);
/* oklch */ color: oklch(31.8% 0.119 325.9);
Tailwind
colors: {
  custom: {
    50: '#835883',
    500: '#4f1452',
    950: '#000000',
  },
}
SCSS
$custom: #4f1452;
$custom-light: #835883;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1452",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 297.097,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.11931,
    "h": 325.9
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#4F1452
secondary
#3C8A38
accent
#E4444C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F1452

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

Preview Lab → · Contrast checker → · Palette generator →

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