#4F145C#4F145C

#4F145C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.129 H 319.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#4F145C
RGBrgb(79, 20, 92)
HSLhsl(289, 64%, 22%)
HSVhsv(289, 78%, 36%)
CMYKcmyk(14.1%, 78.3%, 0%, 63.9%)
CIE-LABlab(19.78, 38.05, -29.74)
CIE-LCHlch(19.78, 48.29, 321.99°)
OKLaboklab(32.52% 0.0983 -0.0834)
OKLCHoklch(32.52% 0.129 319.7)
XYZxyz(5.4061, 2.9356, 10.4050)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145C #215C14
analogous
#2B145C #4F145C #5C1445
triadic
#4F145C #5C4F14 #145C4F
tetradic
#4F145C #5C2B14 #215C14 #14455C
square
#4F145C #5C2B14 #215C14 #14455C
split-complementary
#4F145C #455C14 #145C2B
monochromatic
#160519 #24092A #4F145C #7A1F8E #A52AC1

Accessibility & contrast

On white

13.23
#4F145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F145C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145C#FFFFFF#000000##FFFFFF
##4F145C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#4F2237
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145c;
/* rgb */ color: rgb(79, 20, 92);
/* oklch */ color: oklch(32.5% 0.129 319.7);
Tailwind
colors: {
  custom: {
    50: '#83588a',
    500: '#4f145c',
    950: '#000000',
  },
}
SCSS
$custom: #4f145c;
$custom-light: #83588a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145c",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 289.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.12888,
    "h": 319.7
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#4F145C
secondary
#499438
accent
#E7415F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F145C

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

Preview Lab → · Contrast checker → · Palette generator →

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