#4F1153#4F1153

#4F1153 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.124 H 325.3°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#4F1153
RGBrgb(79, 17, 83)
HSLhsl(296, 66%, 20%)
HSVhsv(296, 80%, 33%)
CMYKcmyk(4.8%, 79.5%, 0%, 67.5%)
CIE-LABlab(18.75, 37.40, -25.36)
CIE-LCHlch(18.75, 45.18, 325.86°)
OKLaboklab(31.59% 0.1021 -0.0706)
OKLCHoklch(31.59% 0.124 325.3)
XYZxyz(4.9861, 2.6880, 8.4382)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1153 #155311
analogous
#2E1153 #4F1153 #531136
triadic
#4F1153 #534F11 #11534F
tetradic
#4F1153 #532E11 #155311 #113653
square
#4F1153 #532E11 #155311 #113653
split-complementary
#4F1153 #365311 #11532E
monochromatic
#180519 #1F0720 #4F1153 #7F1B86 #B026B9

Accessibility & contrast

On white

13.66
#4F1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1153
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1153#FFFFFF#000000##FFFFFF
##4F11531.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#1F3051
Tritanopia (blue-blind)
#511C31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1153;
/* rgb */ color: rgb(79, 17, 83);
/* oklch */ color: oklch(31.6% 0.124 325.3);
Tailwind
colors: {
  custom: {
    50: '#835784',
    500: '#4f1153',
    950: '#000000',
  },
}
SCSS
$custom: #4f1153;
$custom-light: #835784;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1153",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 296.364,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.1241,
    "h": 325.3
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#4F1153
secondary
#398C34
accent
#E93F49
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1153

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

Preview Lab → · Contrast checker → · Palette generator →

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