#4F1358#4F1358

#4F1358 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.126 H 322.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4F1358
RGBrgb(79, 19, 88)
HSLhsl(292, 64%, 21%)
HSVhsv(292, 78%, 35%)
CMYKcmyk(10.2%, 78.4%, 0%, 65.5%)
CIE-LABlab(19.36, 37.62, -27.75)
CIE-LCHlch(19.36, 46.74, 323.59°)
OKLaboklab(32.13% 0.0997 -0.0775)
OKLCHoklch(32.13% 0.126 322.1)
XYZxyz(5.2186, 2.8329, 9.5026)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1358 #1C5813
analogous
#2C1358 #4F1358 #58133E
triadic
#4F1358 #584F13 #13584F
tetradic
#4F1358 #582C13 #1C5813 #133E58
square
#4F1358 #582C13 #1C5813 #133E58
split-complementary
#4F1358 #3E5813 #13582C
monochromatic
#170519 #220826 #4F1358 #7C1E8A #A929BD

Accessibility & contrast

On white

13.40
#4F1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1358
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1358#FFFFFF#000000##FFFFFF
##4F13581.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#1D3156
Tritanopia (blue-blind)
#502034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f1358;
/* rgb */ color: rgb(79, 19, 88);
/* oklch */ color: oklch(32.1% 0.126 322.1);
Tailwind
colors: {
  custom: {
    50: '#835887',
    500: '#4f1358',
    950: '#000000',
  },
}
SCSS
$custom: #4f1358;
$custom-light: #835887;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1358",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 292.174,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.12629,
    "h": 322.1
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#4F1358
secondary
#429037
accent
#E74056
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1358

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

Preview Lab → · Contrast checker → · Palette generator →

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