#4F154D#4F154D

#4F154D is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.113 H 329.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4F154D
RGBrgb(79, 21, 77)
HSLhsl(302, 58%, 20%)
HSVhsv(302, 73%, 31%)
CMYKcmyk(0%, 73.4%, 2.5%, 69%)
CIE-LABlab(18.95, 34.58, -20.97)
CIE-LCHlch(18.95, 40.44, 328.77°)
OKLaboklab(31.61% 0.0974 -0.0578)
OKLCHoklch(31.61% 0.113 329.3)
XYZxyz(4.8321, 2.7348, 7.2931)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F154D #154F17
analogous
#34154F #4F154D #4F1530
triadic
#4F154D #4D4F15 #154D4F
tetradic
#4F154D #4F3415 #154F17 #15304F
square
#4F154D #4F3415 #154F17 #15304F
split-complementary
#4F154D #304F15 #154F34
monochromatic
#180618 #1F081E #4F154D #7F227C #B02FAB

Accessibility & contrast

On white

13.58
#4F154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F154D
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F154D#FFFFFF#000000##FFFFFF
##4F154D1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294F
Deuteranopia (green-blind)
#25314B
Tritanopia (blue-blind)
#521C2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f154d;
/* rgb */ color: rgb(79, 21, 77);
/* oklch */ color: oklch(31.6% 0.113 329.3);
Tailwind
colors: {
  custom: {
    50: '#83587f',
    500: '#4f154d',
    950: '#000000',
  },
}
SCSS
$custom: #4f154d;
$custom-light: #83587f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f154d",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 302.069,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.11328,
    "h": 329.3
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#4F154D
secondary
#39873C
accent
#E14C47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F154D

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

Preview Lab → · Contrast checker → · Palette generator →

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