#4F1163#4F1163

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

Color values

HEX#4F1163
RGBrgb(79, 17, 99)
HSLhsl(285, 71%, 23%)
HSVhsv(285, 83%, 39%)
CMYKcmyk(20.2%, 82.8%, 0%, 61.2%)
CIE-LABlab(19.90, 40.70, -34.19)
CIE-LCHlch(19.90, 53.16, 319.97°)
OKLaboklab(32.77% 0.1003 -0.0964)
OKLCHoklch(32.77% 0.139 316.1)
XYZxyz(5.6767, 2.9642, 12.0751)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1163 #256311
analogous
#261163 #4F1163 #63114E
triadic
#4F1163 #634F11 #11634F
tetradic
#4F1163 #632611 #256311 #114E63
square
#4F1163 #632611 #256311 #114E63
split-complementary
#4F1163 #4E6311 #116326
monochromatic
#15041A #25082F #4F1163 #791A97 #A223CB

Accessibility & contrast

On white

13.18
#4F1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4F1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1163
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1163#FFFFFF#000000##FFFFFF
##4F11631.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#4E243A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1163;
/* rgb */ color: rgb(79, 17, 99);
/* oklch */ color: oklch(32.8% 0.139 316.1);
Tailwind
colors: {
  custom: {
    50: '#845890',
    500: '#4f1163',
    950: '#000000',
  },
}
SCSS
$custom: #4f1163;
$custom-light: #845890;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1163",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 285.366,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.13913,
    "h": 316.1
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#4F1163
secondary
#4E9B34
accent
#ED3A66
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1163

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

Preview Lab → · Contrast checker → · Palette generator →

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