#4F1766#4F1766

#4F1766 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.135 H 314.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4F1766
RGBrgb(79, 23, 102)
HSLhsl(283, 63%, 25%)
HSVhsv(283, 77%, 40%)
CMYKcmyk(22.5%, 77.5%, 0%, 60%)
CIE-LABlab(20.96, 38.98, -34.45)
CIE-LCHlch(20.96, 52.03, 318.53°)
OKLaboklab(33.59% 0.0938 -0.0972)
OKLCHoklch(33.59% 0.135 314)
XYZxyz(5.9287, 3.2346, 12.8798)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1766 #2E6617
analogous
#281766 #4F1766 #661756
triadic
#4F1766 #664F17 #17664F
tetradic
#4F1766 #662817 #2E6617 #175666
square
#4F1766 #662817 #2E6617 #175666
split-complementary
#4F1766 #566617 #176628
monochromatic
#130619 #280C34 #4F1766 #762298 #9C2ECA

Accessibility & contrast

On white

12.75
#4F1766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1766
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1766#FFFFFF#000000##FFFFFF
##4F17661.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#113464
Tritanopia (blue-blind)
#4D283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1766;
/* rgb */ color: rgb(79, 23, 102);
/* oklch */ color: oklch(33.6% 0.135 314.0);
Tailwind
colors: {
  custom: {
    50: '#845a92',
    500: '#4f1766',
    950: '#000000',
  },
}
SCSS
$custom: #4f1766;
$custom-light: #845a92;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1766",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 282.532,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33592,
    "c": 0.13511,
    "h": 314
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#4F1766
secondary
#589C3C
accent
#E64272
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1766

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

Preview Lab → · Contrast checker → · Palette generator →

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