#4F145A#4F145A

#4F145A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.127 H 320.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4F145A
RGBrgb(79, 20, 90)
HSLhsl(291, 64%, 22%)
HSVhsv(291, 78%, 35%)
CMYKcmyk(12.2%, 77.8%, 0%, 64.7%)
CIE-LABlab(19.64, 37.63, -28.63)
CIE-LCHlch(19.64, 47.28, 322.73°)
OKLaboklab(32.38% 0.0985 -0.0801)
OKLCHoklch(32.38% 0.127 320.9)
XYZxyz(5.3199, 2.9010, 9.9506)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F145A #1F5A14
analogous
#2C145A #4F145A #5A1442
triadic
#4F145A #5A4F14 #145A4F
tetradic
#4F145A #5A2C14 #1F5A14 #14425A
square
#4F145A #5A2C14 #1F5A14 #14425A
split-complementary
#4F145A #425A14 #145A2C
monochromatic
#160619 #230928 #4F145A #7B1F8C #A72ABE

Accessibility & contrast

On white

13.29
#4F145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F145A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F145A#FFFFFF#000000##FFFFFF
##4F145A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#502136
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f145a;
/* rgb */ color: rgb(79, 20, 90);
/* oklch */ color: oklch(32.4% 0.127 320.9);
Tailwind
colors: {
  custom: {
    50: '#835889',
    500: '#4f145a',
    950: '#000000',
  },
}
SCSS
$custom: #4f145a;
$custom-light: #835889;
$custom-dark: #000000;
JSON
{
  "hex": "#4f145a",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 290.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32378,
    "c": 0.12695,
    "h": 320.9
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#4F145A
secondary
#469238
accent
#E7415B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F145A

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

Preview Lab → · Contrast checker → · Palette generator →

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