#4F1362#4F1362

#4F1362 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.136 H 316.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4F1362
RGBrgb(79, 19, 98)
HSLhsl(286, 68%, 23%)
HSVhsv(286, 81%, 38%)
CMYKcmyk(19.4%, 80.6%, 0%, 61.6%)
CIE-LABlab(20.08, 39.73, -33.24)
CIE-LCHlch(20.08, 51.80, 320.09°)
OKLaboklab(32.88% 0.0986 -0.0936)
OKLCHoklch(32.88% 0.136 316.5)
XYZxyz(5.6616, 3.0101, 11.8357)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1362 #266213
analogous
#281362 #4F1362 #62134D
triadic
#4F1362 #624F13 #13624F
tetradic
#4F1362 #622813 #266213 #134D62
square
#4F1362 #622813 #266213 #134D62
split-complementary
#4F1362 #4D6213 #136228
monochromatic
#15051A #26092F #4F1362 #781D95 #A227C9

Accessibility & contrast

On white

13.11
#4F1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4F1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1362
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1362#FFFFFF#000000##FFFFFF
##4F13621.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#133260
Tritanopia (blue-blind)
#4E243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1362;
/* rgb */ color: rgb(79, 19, 98);
/* oklch */ color: oklch(32.9% 0.136 316.5);
Tailwind
colors: {
  custom: {
    50: '#84588f',
    500: '#4f1362',
    950: '#000000',
  },
}
SCSS
$custom: #4f1362;
$custom-light: #84588f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1362",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 285.57,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32876,
    "c": 0.13594,
    "h": 316.5
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#4F1362
secondary
#4F9A37
accent
#EA3D67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1362

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

Preview Lab → · Contrast checker → · Palette generator →

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