#4F1166#4F1166

#4F1166 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.142 H 314.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#4F1166
RGBrgb(79, 17, 102)
HSLhsl(284, 71%, 23%)
HSVhsv(284, 83%, 40%)
CMYKcmyk(22.5%, 83.3%, 0%, 60%)
CIE-LABlab(20.13, 41.35, -35.79)
CIE-LCHlch(20.13, 54.69, 319.13°)
OKLaboklab(33.01% 0.0997 -0.1011)
OKLCHoklch(33.01% 0.142 314.6)
XYZxyz(5.8228, 3.0227, 12.8445)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1166 #286611
analogous
#241166 #4F1166 #661152
triadic
#4F1166 #664F11 #11664F
tetradic
#4F1166 #662411 #286611 #115266
square
#4F1166 #662411 #286611 #115266
split-complementary
#4F1166 #526611 #116624
monochromatic
#14041A #260832 #4F1166 #781A9A #A022CF

Accessibility & contrast

On white

13.09
#4F1166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1166
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1166#FFFFFF#000000##FFFFFF
##4F11661.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#0B3264
Tritanopia (blue-blind)
#4D253C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1166;
/* rgb */ color: rgb(79, 17, 102);
/* oklch */ color: oklch(33.0% 0.142 314.6);
Tailwind
colors: {
  custom: {
    50: '#845892',
    500: '#4f1166',
    950: '#000000',
  },
}
SCSS
$custom: #4f1166;
$custom-light: #845892;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1166",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 283.765,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.14201,
    "h": 314.6
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#4F1166
secondary
#519E35
accent
#EE3A6A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1166

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

Preview Lab → · Contrast checker → · Palette generator →

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