#4F194E#4F194E

#4F194E is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.108 H 328.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4F194E
RGBrgb(79, 25, 78)
HSLhsl(301, 52%, 20%)
HSVhsv(301, 68%, 31%)
CMYKcmyk(0%, 68.4%, 1.3%, 69%)
CIE-LABlab(19.67, 32.93, -20.51)
CIE-LCHlch(19.67, 38.79, 328.09°)
OKLaboklab(32.15% 0.0922 -0.0565)
OKLCHoklch(32.15% 0.108 328.5)
XYZxyz(4.9472, 2.9079, 7.5070)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F194E #194F1A
analogous
#35194F #4F194E #4F1933
triadic
#4F194E #4E4F19 #194E4F
tetradic
#4F194E #4F3519 #194F1A #19334F
square
#4F194E #4F3519 #194F1A #19334F
split-complementary
#4F194E #334F19 #194F35
monochromatic
#170717 #210A20 #4F194E #7D287C #AC36AA

Accessibility & contrast

On white

13.28
#4F194E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F194E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F194E#FFFFFF#000000##FFFFFF
##4F194E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#522031
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f194e;
/* rgb */ color: rgb(79, 25, 78);
/* oklch */ color: oklch(32.1% 0.108 328.5);
Tailwind
colors: {
  custom: {
    50: '#825a80',
    500: '#4f194e',
    950: '#000000',
  },
}
SCSS
$custom: #4f194e;
$custom-light: #825a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4f194e",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 78
  },
  "hsl": {
    "h": 301.111,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3215,
    "c": 0.10817,
    "h": 328.5
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#4F194E
secondary
#3E8540
accent
#DB4F4C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4F194E

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

Preview Lab → · Contrast checker → · Palette generator →

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