#4F1366#4F1366

#4F1366 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.140 H 314.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4F1366
RGBrgb(79, 19, 102)
HSLhsl(283, 69%, 24%)
HSVhsv(283, 81%, 40%)
CMYKcmyk(22.5%, 81.4%, 0%, 60%)
CIE-LABlab(20.39, 40.61, -35.37)
CIE-LCHlch(20.39, 53.86, 318.95°)
OKLaboklab(33.19% 0.0979 -0.0999)
OKLCHoklch(33.19% 0.14 314.4)
XYZxyz(5.8552, 3.0875, 12.8553)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1366 #2A6613
analogous
#251366 #4F1366 #661353
triadic
#4F1366 #664F13 #13664F
tetradic
#4F1366 #662513 #2A6613 #135366
square
#4F1366 #662513 #2A6613 #135366
split-complementary
#4F1366 #536613 #136625
monochromatic
#14051A #270932 #4F1366 #771D9A #9F26CD

Accessibility & contrast

On white

12.98
#4F1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4F1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1366
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1366#FFFFFF#000000##FFFFFF
##4F13661.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#0D3364
Tritanopia (blue-blind)
#4D263C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1366;
/* rgb */ color: rgb(79, 19, 102);
/* oklch */ color: oklch(33.2% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#845992',
    500: '#4f1366',
    950: '#000000',
  },
}
SCSS
$custom: #4f1366;
$custom-light: #845992;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1366",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 283.373,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.13986,
    "h": 314.4
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#4F1366
secondary
#549D37
accent
#EB3C6D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1366

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

Preview Lab → · Contrast checker → · Palette generator →

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