#4F195A#4F195A

#4F195A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.120 H 320.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#4F195A
RGBrgb(79, 25, 90)
HSLhsl(290, 57%, 23%)
HSVhsv(290, 72%, 35%)
CMYKcmyk(12.2%, 72.2%, 0%, 64.7%)
CIE-LABlab(20.42, 35.42, -27.38)
CIE-LCHlch(20.42, 44.77, 322.29°)
OKLaboklab(32.94% 0.0925 -0.0765)
OKLCHoklch(32.94% 0.12 320.4)
XYZxyz(5.4173, 3.0960, 9.9831)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F195A #245A19
analogous
#2E195A #4F195A #5A1945
triadic
#4F195A #5A4F19 #195A4F
tetradic
#4F195A #5A2E19 #245A19 #19455A
square
#4F195A #5A2E19 #245A19 #19455A
split-complementary
#4F195A #455A19 #195A2E
monochromatic
#150718 #250C2A #4F195A #79268A #A334BA

Accessibility & contrast

On white

12.97
#4F195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F195A
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F195A#FFFFFF#000000##FFFFFF
##4F195A1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042D5C
Deuteranopia (green-blind)
#1F3358
Tritanopia (blue-blind)
#4F2437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f195a;
/* rgb */ color: rgb(79, 25, 90);
/* oklch */ color: oklch(32.9% 0.120 320.4);
Tailwind
colors: {
  custom: {
    50: '#835b89',
    500: '#4f195a',
    950: '#000000',
  },
}
SCSS
$custom: #4f195a;
$custom-light: #835b89;
$custom-dark: #000000;
JSON
{
  "hex": "#4f195a",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 289.846,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32937,
    "c": 0.1201,
    "h": 320.4
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#4F195A
secondary
#4C903E
accent
#E04862
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F195A

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

Preview Lab → · Contrast checker → · Palette generator →

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