#4F154E#4F154E

#4F154E is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.7% C 0.114 H 328.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4F154E
RGBrgb(79, 21, 78)
HSLhsl(301, 58%, 20%)
HSVhsv(301, 73%, 31%)
CMYKcmyk(0%, 73.4%, 1.3%, 69%)
CIE-LABlab(19.01, 34.78, -21.55)
CIE-LCHlch(19.01, 40.91, 328.21°)
OKLaboklab(31.67% 0.0975 -0.0595)
OKLCHoklch(31.67% 0.114 328.6)
XYZxyz(4.8677, 2.7490, 7.4805)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F154E #154F16
analogous
#33154F #4F154E #4F1531
triadic
#4F154E #4E4F15 #154E4F
tetradic
#4F154E #4F3315 #154F16 #15314F
square
#4F154E #4F3315 #154F16 #15314F
split-complementary
#4F154E #314F15 #154F33
monochromatic
#180618 #1F081E #4F154E #7F227E #B02FAD

Accessibility & contrast

On white

13.55
#4F154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F154E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F154E#FFFFFF#000000##FFFFFF
##4F154E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2950
Deuteranopia (green-blind)
#24314C
Tritanopia (blue-blind)
#521D2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f154e;
/* rgb */ color: rgb(79, 21, 78);
/* oklch */ color: oklch(31.7% 0.114 328.6);
Tailwind
colors: {
  custom: {
    50: '#835880',
    500: '#4f154e',
    950: '#000000',
  },
}
SCSS
$custom: #4f154e;
$custom-light: #835880;
$custom-dark: #000000;
JSON
{
  "hex": "#4f154e",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 301.034,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.11421,
    "h": 328.6
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#4F154E
secondary
#39873A
accent
#E14947
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F154E

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

Preview Lab → · Contrast checker → · Palette generator →

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