#4F145D#4F145D

#4F145D is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.130 H 319.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4F145D
RGBrgb(79, 20, 93)
HSLhsl(288, 65%, 22%)
HSVhsv(288, 78%, 36%)
CMYKcmyk(15.1%, 78.5%, 0%, 63.5%)
CIE-LABlab(19.86, 38.26, -30.29)
CIE-LCHlch(19.86, 48.80, 321.63°)
OKLaboklab(32.6% 0.0982 -0.085)
OKLCHoklch(32.6% 0.13 319.1)
XYZxyz(5.4501, 2.9532, 10.6367)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145D #225D14
analogous
#2B145D #4F145D #5D1447
triadic
#4F145D #5D4F14 #145D4F
tetradic
#4F145D #5D2B14 #225D14 #14475D
square
#4F145D #5D2B14 #225D14 #14475D
split-complementary
#4F145D #475D14 #145D2B
monochromatic
#150519 #24092B #4F145D #7A1F8F #A52AC2

Accessibility & contrast

On white

13.20
#4F145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F145D
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145D#FFFFFF#000000##FFFFFF
##4F145D1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#19325B
Tritanopia (blue-blind)
#4F2337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145d;
/* rgb */ color: rgb(79, 20, 93);
/* oklch */ color: oklch(32.6% 0.130 319.1);
Tailwind
colors: {
  custom: {
    50: '#83588b',
    500: '#4f145d',
    950: '#000000',
  },
}
SCSS
$custom: #4f145d;
$custom-light: #83588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145d",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 288.493,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32597,
    "c": 0.12986,
    "h": 319.1
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#4F145D
secondary
#4A9538
accent
#E84060
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F145D

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

Preview Lab → · Contrast checker → · Palette generator →

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