#4F1167#4F1167

#4F1167 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.1% C 0.143 H 314.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4F1167
RGBrgb(79, 17, 103)
HSLhsl(283, 72%, 24%)
HSVhsv(283, 83%, 40%)
CMYKcmyk(23.3%, 83.5%, 0%, 59.6%)
CIE-LABlab(20.21, 41.57, -36.31)
CIE-LCHlch(20.21, 55.20, 318.86°)
OKLaboklab(33.09% 0.0995 -0.1026)
OKLCHoklch(33.09% 0.143 314.1)
XYZxyz(5.8727, 3.0426, 13.1073)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1167 #296711
analogous
#241167 #4F1167 #671154
triadic
#4F1167 #674F11 #11674F
tetradic
#4F1167 #672411 #296711 #115467
square
#4F1167 #672411 #296711 #115467
split-complementary
#4F1167 #546711 #116724
monochromatic
#14041A #270832 #4F1167 #771A9C #A022D0

Accessibility & contrast

On white

13.06
#4F1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1167
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1167#FFFFFF#000000##FFFFFF
##4F11671.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#4D263C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1167;
/* rgb */ color: rgb(79, 17, 103);
/* oklch */ color: oklch(33.1% 0.143 314.1);
Tailwind
colors: {
  custom: {
    50: '#845893',
    500: '#4f1167',
    950: '#000000',
  },
}
SCSS
$custom: #4f1167;
$custom-light: #845893;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1167",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 283.256,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.14297,
    "h": 314.1
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#4F1167
secondary
#529F35
accent
#EE396C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1167

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

Preview Lab → · Contrast checker → · Palette generator →

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