#4F1959#4F1959

#4F1959 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.119 H 321.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4F1959
RGBrgb(79, 25, 89)
HSLhsl(291, 56%, 22%)
HSVhsv(291, 72%, 35%)
CMYKcmyk(11.2%, 71.9%, 0%, 65.1%)
CIE-LABlab(20.36, 35.20, -26.82)
CIE-LCHlch(20.36, 44.26, 322.69°)
OKLaboklab(32.87% 0.0926 -0.0749)
OKLCHoklch(32.87% 0.119 321)
XYZxyz(5.3750, 3.0791, 9.7605)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1959 #235919
analogous
#2F1959 #4F1959 #591943
triadic
#4F1959 #594F19 #19594F
tetradic
#4F1959 #592F19 #235919 #194359
square
#4F1959 #592F19 #235919 #194359
split-complementary
#4F1959 #435919 #19592F
monochromatic
#150718 #250C29 #4F1959 #792689 #A434B9

Accessibility & contrast

On white

13.00
#4F1959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1959
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1959#FFFFFF#000000##FFFFFF
##4F19591.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#502436
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1959;
/* rgb */ color: rgb(79, 25, 89);
/* oklch */ color: oklch(32.9% 0.119 321.0);
Tailwind
colors: {
  custom: {
    50: '#835b88',
    500: '#4f1959',
    950: '#000000',
  },
}
SCSS
$custom: #4f1959;
$custom-light: #835b88;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1959",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 290.625,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32868,
    "c": 0.11908,
    "h": 321
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#4F1959
secondary
#4B8F3E
accent
#DF4860
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1959

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

Preview Lab → · Contrast checker → · Palette generator →

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