#4F1068#4F1068

#4F1068 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.1% C 0.145 H 313.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4F1068
RGBrgb(79, 16, 104)
HSLhsl(283, 73%, 24%)
HSVhsv(283, 85%, 41%)
CMYKcmyk(24%, 84.6%, 0%, 59.2%)
CIE-LABlab(20.17, 42.14, -37.03)
CIE-LCHlch(20.17, 56.10, 318.69°)
OKLaboklab(33.09% 0.1002 -0.1048)
OKLCHoklch(33.09% 0.145 313.7)
XYZxyz(5.9080, 3.0325, 13.3681)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1068 #296810
analogous
#231068 #4F1068 #681055
triadic
#4F1068 #684F10 #10684F
tetradic
#4F1068 #682310 #296810 #105568
square
#4F1068 #682310 #296810 #105568
split-complementary
#4F1068 #556810 #106823
monochromatic
#14041B #270833 #4F1068 #77189D #A020D2

Accessibility & contrast

On white

13.07
#4F1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4F1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1068
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1068#FFFFFF#000000##FFFFFF
##4F10681.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#053266
Tritanopia (blue-blind)
#4C263D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4f1068;
/* rgb */ color: rgb(79, 16, 104);
/* oklch */ color: oklch(33.1% 0.145 313.7);
Tailwind
colors: {
  custom: {
    50: '#845794',
    500: '#4f1068',
    950: '#000000',
  },
}
SCSS
$custom: #4f1068;
$custom-light: #845794;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1068",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 282.955,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.14494,
    "h": 313.7
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#4F1068
secondary
#52A034
accent
#F0386C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1068

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

Preview Lab → · Contrast checker → · Palette generator →

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