#4F1460#4F1460

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

Color values

HEX#4F1460
RGBrgb(79, 20, 96)
HSLhsl(287, 66%, 23%)
HSVhsv(287, 79%, 38%)
CMYKcmyk(17.7%, 79.2%, 0%, 62.4%)
CIE-LABlab(20.07, 38.91, -31.93)
CIE-LCHlch(20.07, 50.33, 320.62°)
OKLaboklab(32.82% 0.0978 -0.0898)
OKLCHoklch(32.82% 0.133 317.4)
XYZxyz(5.5856, 3.0073, 11.3503)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1460 #256014
analogous
#291460 #4F1460 #60144B
triadic
#4F1460 #604F14 #14604F
tetradic
#4F1460 #602914 #256014 #144B60
square
#4F1460 #602914 #256014 #144B60
split-complementary
#4F1460 #4B6014 #146029
monochromatic
#150519 #25092D #4F1460 #791F93 #A229C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1460#FFFFFF#000000##FFFFFF
##4F14601.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)
#002D62
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#4E2439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1460;
/* rgb */ color: rgb(79, 20, 96);
/* oklch */ color: oklch(32.8% 0.133 317.4);
Tailwind
colors: {
  custom: {
    50: '#83598e',
    500: '#4f1460',
    950: '#000000',
  },
}
SCSS
$custom: #4f1460;
$custom-light: #83598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1460",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 286.579,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.1328,
    "h": 317.4
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#4F1460
secondary
#4E9838
accent
#E83F65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1460

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

Preview Lab → · Contrast checker → · Palette generator →

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