#4F145F#4F145F

#4F145F is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.132 H 318.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4F145F
RGBrgb(79, 20, 95)
HSLhsl(287, 65%, 23%)
HSVhsv(287, 79%, 37%)
CMYKcmyk(16.8%, 78.9%, 0%, 62.7%)
CIE-LABlab(20.00, 38.69, -31.39)
CIE-LCHlch(20.00, 49.82, 320.95°)
OKLaboklab(32.75% 0.098 -0.0882)
OKLCHoklch(32.75% 0.132 318)
XYZxyz(5.5399, 2.9891, 11.1094)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145F #245F14
analogous
#2A145F #4F145F #5F1449
triadic
#4F145F #5F4F14 #145F4F
tetradic
#4F145F #5F2A14 #245F14 #14495F
square
#4F145F #5F2A14 #245F14 #14495F
split-complementary
#4F145F #495F14 #145F2A
monochromatic
#150519 #25092C #4F145F #791F92 #A329C4

Accessibility & contrast

On white

13.14
#4F145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F145F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145F#FFFFFF#000000##FFFFFF
##4F145F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#4E2438
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145f;
/* rgb */ color: rgb(79, 20, 95);
/* oklch */ color: oklch(32.7% 0.132 318.0);
Tailwind
colors: {
  custom: {
    50: '#83598d',
    500: '#4f145f',
    950: '#000000',
  },
}
SCSS
$custom: #4f145f;
$custom-light: #83598d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145f",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 287.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32746,
    "c": 0.13182,
    "h": 318
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#4F145F
secondary
#4C9738
accent
#E84064
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F145F

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

Preview Lab → · Contrast checker → · Palette generator →

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