#4F195D#4F195D

#4F195D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.123 H 318.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4F195D
RGBrgb(79, 25, 93)
HSLhsl(288, 58%, 23%)
HSVhsv(288, 73%, 36%)
CMYKcmyk(15.1%, 73.1%, 0%, 63.5%)
CIE-LABlab(20.63, 36.07, -29.05)
CIE-LCHlch(20.63, 46.32, 321.15°)
OKLaboklab(33.15% 0.0924 -0.0814)
OKLCHoklch(33.15% 0.123 318.6)
XYZxyz(5.5476, 3.1481, 10.6692)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F195D #275D19
analogous
#2D195D #4F195D #5D1949
triadic
#4F195D #5D4F19 #195D4F
tetradic
#4F195D #5D2D19 #275D19 #19495D
square
#4F195D #5D2D19 #275D19 #19495D
split-complementary
#4F195D #495D19 #195D2D
monochromatic
#140618 #260C2D #4F195D #78268D #A133BD

Accessibility & contrast

On white

12.89
#4F195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F195D
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F195D#FFFFFF#000000##FFFFFF
##4F195D1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#1D335B
Tritanopia (blue-blind)
#4F2639
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f195d;
/* rgb */ color: rgb(79, 25, 93);
/* oklch */ color: oklch(33.1% 0.123 318.6);
Tailwind
colors: {
  custom: {
    50: '#835b8b',
    500: '#4f195d',
    950: '#000000',
  },
}
SCSS
$custom: #4f195d;
$custom-light: #835b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f195d",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 287.647,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33148,
    "c": 0.12318,
    "h": 318.6
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#4F195D
secondary
#50933F
accent
#E14767
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F195D

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

Preview Lab → · Contrast checker → · Palette generator →

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