#4F1154#4F1154

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

Color values

HEX#4F1154
RGBrgb(79, 17, 84)
HSLhsl(296, 66%, 20%)
HSVhsv(296, 80%, 33%)
CMYKcmyk(6%, 79.8%, 0%, 67.1%)
CIE-LABlab(18.82, 37.59, -25.93)
CIE-LCHlch(18.82, 45.67, 325.41°)
OKLaboklab(31.66% 0.1021 -0.0722)
OKLCHoklch(31.66% 0.125 324.7)
XYZxyz(5.0250, 2.7036, 8.6430)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1154 #165411
analogous
#2D1154 #4F1154 #541138
triadic
#4F1154 #544F11 #11544F
tetradic
#4F1154 #542D11 #165411 #113854
square
#4F1154 #542D11 #165411 #113854
split-complementary
#4F1154 #385411 #11542D
monochromatic
#180519 #1F0721 #4F1154 #7F1B87 #AF26BA

Accessibility & contrast

On white

13.63
#4F1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1154
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1154#FFFFFF#000000##FFFFFF
##4F11541.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#511D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1154;
/* rgb */ color: rgb(79, 17, 84);
/* oklch */ color: oklch(31.7% 0.125 324.7);
Tailwind
colors: {
  custom: {
    50: '#835784',
    500: '#4f1154',
    950: '#000000',
  },
}
SCSS
$custom: #4f1154;
$custom-light: #835784;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1154",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 295.522,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31656,
    "c": 0.12502,
    "h": 324.7
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#4F1154
secondary
#3A8D34
accent
#E93F4B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1154

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

Preview Lab → · Contrast checker → · Palette generator →

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