#4F1164#4F1164

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

Color values

HEX#4F1164
RGBrgb(79, 17, 100)
HSLhsl(285, 71%, 23%)
HSVhsv(285, 83%, 39%)
CMYKcmyk(21%, 83%, 0%, 60.8%)
CIE-LABlab(19.98, 40.92, -34.73)
CIE-LCHlch(19.98, 53.67, 319.68°)
OKLaboklab(32.85% 0.1001 -0.098)
OKLCHoklch(32.85% 0.14 315.6)
XYZxyz(5.7248, 2.9835, 12.3284)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1164 #266411
analogous
#251164 #4F1164 #64114F
triadic
#4F1164 #644F11 #11644F
tetradic
#4F1164 #642511 #266411 #114F64
square
#4F1164 #642511 #266411 #114F64
split-complementary
#4F1164 #4F6411 #116425
monochromatic
#15041A #260830 #4F1164 #781A98 #A223CD

Accessibility & contrast

On white

13.15
#4F1164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1164
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1164#FFFFFF#000000##FFFFFF
##4F11641.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#0E3262
Tritanopia (blue-blind)
#4D243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1164;
/* rgb */ color: rgb(79, 17, 100);
/* oklch */ color: oklch(32.9% 0.140 315.6);
Tailwind
colors: {
  custom: {
    50: '#845891',
    500: '#4f1164',
    950: '#000000',
  },
}
SCSS
$custom: #4f1164;
$custom-light: #845891;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1164",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 284.819,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3285,
    "c": 0.14009,
    "h": 315.6
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#4F1164
secondary
#4F9C35
accent
#EE3A68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1164

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

Preview Lab → · Contrast checker → · Palette generator →

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