#4F154B#4F154B

#4F154B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.111 H 330.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#4F154B
RGBrgb(79, 21, 75)
HSLhsl(304, 58%, 20%)
HSVhsv(304, 73%, 31%)
CMYKcmyk(0%, 73.4%, 5.1%, 69%)
CIE-LABlab(18.83, 34.20, -19.79)
CIE-LCHlch(18.83, 39.52, 329.95°)
OKLaboklab(31.48% 0.0973 -0.0544)
OKLCHoklch(31.48% 0.111 330.8)
XYZxyz(4.7626, 2.7070, 6.9269)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F154B #154F19
analogous
#36154F #4F154B #4F152E
triadic
#4F154B #4B4F15 #154B4F
tetradic
#4F154B #4F3615 #154F19 #152E4F
square
#4F154B #4F3615 #154F19 #152E4F
split-complementary
#4F154B #2E4F15 #154F36
monochromatic
#180617 #1F081D #4F154B #7F2279 #B02FA7

Accessibility & contrast

On white

13.62
#4F154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F154B
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F154B#FFFFFF#000000##FFFFFF
##4F154B1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#521B2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f154b;
/* rgb */ color: rgb(79, 21, 75);
/* oklch */ color: oklch(31.5% 0.111 330.8);
Tailwind
colors: {
  custom: {
    50: '#83587d',
    500: '#4f154b',
    950: '#000000',
  },
}
SCSS
$custom: #4f154b;
$custom-light: #83587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f154b",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 304.138,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.11146,
    "h": 330.8
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#4F154B
secondary
#39873E
accent
#E15147
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F154B

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

Preview Lab → · Contrast checker → · Palette generator →

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