#4F145B#4F145B

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

Color values

HEX#4F145B
RGBrgb(79, 20, 91)
HSLhsl(290, 64%, 22%)
HSVhsv(290, 78%, 36%)
CMYKcmyk(13.2%, 78%, 0%, 64.3%)
CIE-LABlab(19.71, 37.84, -29.19)
CIE-LCHlch(19.71, 47.79, 322.35°)
OKLaboklab(32.45% 0.0984 -0.0818)
OKLCHoklch(32.45% 0.128 320.3)
XYZxyz(5.3627, 2.9182, 10.1763)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145B #205B14
analogous
#2C145B #4F145B #5B1444
triadic
#4F145B #5B4F14 #145B4F
tetradic
#4F145B #5B2C14 #205B14 #14445B
square
#4F145B #5B2C14 #205B14 #14445B
split-complementary
#4F145B #445B14 #145B2C
monochromatic
#160619 #230929 #4F145B #7B1F8D #A62ABF

Accessibility & contrast

On white

13.26
#4F145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F145B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145B#FFFFFF#000000##FFFFFF
##4F145B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#4F2236
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145b;
/* rgb */ color: rgb(79, 20, 91);
/* oklch */ color: oklch(32.5% 0.128 320.3);
Tailwind
colors: {
  custom: {
    50: '#83588a',
    500: '#4f145b',
    950: '#000000',
  },
}
SCSS
$custom: #4f145b;
$custom-light: #83588a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145b",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 289.859,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.12791,
    "h": 320.3
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#4F145B
secondary
#479338
accent
#E7415D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F145B

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

Preview Lab → · Contrast checker → · Palette generator →

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