#4F185A#4F185A

#4F185A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.8% C 0.122 H 320.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#4F185A
RGBrgb(79, 24, 90)
HSLhsl(290, 58%, 22%)
HSVhsv(290, 73%, 35%)
CMYKcmyk(12.2%, 73.3%, 0%, 64.7%)
CIE-LABlab(20.26, 35.88, -27.65)
CIE-LCHlch(20.26, 45.30, 322.39°)
OKLaboklab(32.82% 0.0938 -0.0773)
OKLCHoklch(32.82% 0.122 320.5)
XYZxyz(5.3963, 3.0540, 9.9761)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F185A #235A18
analogous
#2E185A #4F185A #5A1844
triadic
#4F185A #5A4F18 #185A4F
tetradic
#4F185A #5A2E18 #235A18 #18445A
square
#4F185A #5A2E18 #235A18 #18445A
split-complementary
#4F185A #445A18 #185A2E
monochromatic
#150618 #250B2A #4F185A #79258A #A432BB

Accessibility & contrast

On white

13.04
#4F185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F185A
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F185A#FFFFFF#000000##FFFFFF
##4F185A1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f185a;
/* rgb */ color: rgb(79, 24, 90);
/* oklch */ color: oklch(32.8% 0.122 320.5);
Tailwind
colors: {
  custom: {
    50: '#835a89',
    500: '#4f185a',
    950: '#000000',
  },
}
SCSS
$custom: #4f185a;
$custom-light: #835a89;
$custom-dark: #000000;
JSON
{
  "hex": "#4f185a",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 290,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.12154,
    "h": 320.5
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#4F185A
secondary
#4B913D
accent
#E14760
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F185A

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

Preview Lab → · Contrast checker → · Palette generator →

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