#4F1859#4F1859

#4F1859 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.121 H 321.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4F1859
RGBrgb(79, 24, 89)
HSLhsl(291, 58%, 22%)
HSVhsv(291, 73%, 35%)
CMYKcmyk(11.2%, 73%, 0%, 65.1%)
CIE-LABlab(20.19, 35.67, -27.09)
CIE-LCHlch(20.19, 44.79, 322.79°)
OKLaboklab(32.75% 0.0938 -0.0757)
OKLCHoklch(32.75% 0.121 321.1)
XYZxyz(5.3541, 3.0371, 9.7535)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1859 #225918
analogous
#2F1859 #4F1859 #591843
triadic
#4F1859 #594F18 #18594F
tetradic
#4F1859 #592F18 #225918 #184359
square
#4F1859 #592F18 #225918 #184359
split-complementary
#4F1859 #435918 #18592F
monochromatic
#150618 #240B29 #4F1859 #7A2589 #A532B9

Accessibility & contrast

On white

13.06
#4F1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1859
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1859#FFFFFF#000000##FFFFFF
##4F18591.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#1F3357
Tritanopia (blue-blind)
#502336
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1859;
/* rgb */ color: rgb(79, 24, 89);
/* oklch */ color: oklch(32.7% 0.121 321.1);
Tailwind
colors: {
  custom: {
    50: '#835a88',
    500: '#4f1859',
    950: '#000000',
  },
}
SCSS
$custom: #4f1859;
$custom-light: #835a88;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1859",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 290.769,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32748,
    "c": 0.12053,
    "h": 321.1
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#4F1859
secondary
#4A903D
accent
#E1475F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1859

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

Preview Lab → · Contrast checker → · Palette generator →

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