#4F1467#4F1467

#4F1467 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.140 H 313.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#4F1467
RGBrgb(79, 20, 103)
HSLhsl(283, 67%, 24%)
HSVhsv(283, 81%, 40%)
CMYKcmyk(23.3%, 80.6%, 0%, 59.6%)
CIE-LABlab(20.60, 40.45, -35.68)
CIE-LCHlch(20.60, 53.94, 318.58°)
OKLaboklab(33.37% 0.0967 -0.1008)
OKLCHoklch(33.37% 0.14 313.8)
XYZxyz(5.9224, 3.1420, 13.1238)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1467 #2C6714
analogous
#261467 #4F1467 #671456
triadic
#4F1467 #674F14 #14674F
tetradic
#4F1467 #672614 #2C6714 #145667
square
#4F1467 #672614 #2C6714 #145667
split-complementary
#4F1467 #566714 #146726
monochromatic
#14051A #280A34 #4F1467 #761E9A #9E28CD

Accessibility & contrast

On white

12.90
#4F1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1467
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1467#FFFFFF#000000##FFFFFF
##4F14671.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#4D273D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1467;
/* rgb */ color: rgb(79, 20, 103);
/* oklch */ color: oklch(33.4% 0.140 313.8);
Tailwind
colors: {
  custom: {
    50: '#845993',
    500: '#4f1467',
    950: '#000000',
  },
}
SCSS
$custom: #4f1467;
$custom-light: #845993;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1467",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 282.651,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33365,
    "c": 0.13972,
    "h": 313.8
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#4F1467
secondary
#569E39
accent
#EA3D6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1467

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

Preview Lab → · Contrast checker → · Palette generator →

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