#4F154C#4F154C

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

Color values

HEX#4F154C
RGBrgb(79, 21, 76)
HSLhsl(303, 58%, 20%)
HSVhsv(303, 73%, 31%)
CMYKcmyk(0%, 73.4%, 3.8%, 69%)
CIE-LABlab(18.89, 34.39, -20.38)
CIE-LCHlch(18.89, 39.98, 329.35°)
OKLaboklab(31.55% 0.0973 -0.0561)
OKLCHoklch(31.55% 0.112 330)
XYZxyz(4.7971, 2.7208, 7.1086)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F154C #154F18
analogous
#35154F #4F154C #4F152F
triadic
#4F154C #4C4F15 #154C4F
tetradic
#4F154C #4F3515 #154F18 #152F4F
square
#4F154C #4F3515 #154F18 #152F4F
split-complementary
#4F154C #2F4F15 #154F35
monochromatic
#180617 #1F081D #4F154C #7F227B #B02FA9

Accessibility & contrast

On white

13.60
#4F154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F154C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F154C#FFFFFF#000000##FFFFFF
##4F154C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#25314B
Tritanopia (blue-blind)
#521C2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f154c;
/* rgb */ color: rgb(79, 21, 76);
/* oklch */ color: oklch(31.5% 0.112 330.0);
Tailwind
colors: {
  custom: {
    50: '#83587e',
    500: '#4f154c',
    950: '#000000',
  },
}
SCSS
$custom: #4f154c;
$custom-light: #83587e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f154c",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 303.103,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31545,
    "c": 0.11237,
    "h": 330
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#4F154C
secondary
#39873D
accent
#E14F47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F154C

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

Preview Lab → · Contrast checker → · Palette generator →

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