#4F1066#4F1066

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

Color values

HEX#4F1066
RGBrgb(79, 16, 102)
HSLhsl(284, 73%, 23%)
HSVhsv(284, 84%, 40%)
CMYKcmyk(22.5%, 84.3%, 0%, 60%)
CIE-LABlab(20.01, 41.70, -35.98)
CIE-LCHlch(20.01, 55.08, 319.21°)
OKLaboklab(32.92% 0.1006 -0.1017)
OKLCHoklch(32.92% 0.143 314.7)
XYZxyz(5.8076, 2.9924, 12.8395)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1066 #276610
analogous
#241066 #4F1066 #661052
triadic
#4F1066 #664F10 #10664F
tetradic
#4F1066 #662410 #276610 #105266
square
#4F1066 #662410 #276610 #105266
split-complementary
#4F1066 #526610 #106624
monochromatic
#14041A #260831 #4F1066 #78189B #A121D0

Accessibility & contrast

On white

13.14
#4F1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1066
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1066#FFFFFF#000000##FFFFFF
##4F10661.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#0A3264
Tritanopia (blue-blind)
#4D253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1066;
/* rgb */ color: rgb(79, 16, 102);
/* oklch */ color: oklch(32.9% 0.143 314.7);
Tailwind
colors: {
  custom: {
    50: '#845792',
    500: '#4f1066',
    950: '#000000',
  },
}
SCSS
$custom: #4f1066;
$custom-light: #845792;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1066",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 283.953,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.14303,
    "h": 314.7
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#4F1066
secondary
#509E33
accent
#F03869
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1066

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

Preview Lab → · Contrast checker → · Palette generator →

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