#4F1863#4F1863

#4F1863 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.131 H 315.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4F1863
RGBrgb(79, 24, 99)
HSLhsl(284, 61%, 24%)
HSVhsv(284, 76%, 39%)
CMYKcmyk(20.2%, 75.8%, 0%, 61.2%)
CIE-LABlab(20.89, 37.87, -32.59)
CIE-LCHlch(20.89, 49.96, 319.28°)
OKLaboklab(33.47% 0.0931 -0.0918)
OKLCHoklch(33.47% 0.131 315.4)
XYZxyz(5.8029, 3.2166, 12.1172)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1863 #2C6318
analogous
#2A1863 #4F1863 #631852
triadic
#4F1863 #634F18 #18634F
tetradic
#4F1863 #632A18 #2C6318 #185263
square
#4F1863 #632A18 #2C6318 #185263
split-complementary
#4F1863 #526318 #18632A
monochromatic
#140619 #280C32 #4F1863 #762494 #9E30C6

Accessibility & contrast

On white

12.78
#4F1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1863
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1863#FFFFFF#000000##FFFFFF
##4F18631.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#163461
Tritanopia (blue-blind)
#4D283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1863;
/* rgb */ color: rgb(79, 24, 99);
/* oklch */ color: oklch(33.5% 0.131 315.4);
Tailwind
colors: {
  custom: {
    50: '#835b90',
    500: '#4f1863',
    950: '#000000',
  },
}
SCSS
$custom: #4f1863;
$custom-light: #835b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1863",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 284,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33473,
    "c": 0.13074,
    "h": 315.4
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#4F1863
secondary
#56993E
accent
#E4446E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1863

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

Preview Lab → · Contrast checker → · Palette generator →

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