#4F1054#4F1054

#4F1054 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.126 H 324.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4F1054
RGBrgb(79, 16, 84)
HSLhsl(296, 68%, 20%)
HSVhsv(296, 81%, 33%)
CMYKcmyk(6%, 81%, 0%, 67.1%)
CIE-LABlab(18.68, 37.97, -26.14)
CIE-LCHlch(18.68, 46.09, 325.46°)
OKLaboklab(31.56% 0.1031 -0.0728)
OKLCHoklch(31.56% 0.126 324.8)
XYZxyz(5.0098, 2.6733, 8.6379)
Luminance0.0267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1054 #155410
analogous
#2D1054 #4F1054 #541037
triadic
#4F1054 #544F10 #10544F
tetradic
#4F1054 #542D10 #155410 #103754
square
#4F1054 #542D10 #155410 #103754
split-complementary
#4F1054 #375410 #10542D
monochromatic
#18051A #1F0621 #4F1054 #7F1A87 #B024BB

Accessibility & contrast

On white

13.68
#4F1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1054
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1054#FFFFFF#000000##FFFFFF
##4F10541.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#511C31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1054;
/* rgb */ color: rgb(79, 16, 84);
/* oklch */ color: oklch(31.6% 0.126 324.8);
Tailwind
colors: {
  custom: {
    50: '#835684',
    500: '#4f1054',
    950: '#000000',
  },
}
SCSS
$custom: #4f1054;
$custom-light: #835684;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1054",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 295.588,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31563,
    "c": 0.12621,
    "h": 324.8
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#4F1054
secondary
#398E32
accent
#EB3D4A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1054

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

Preview Lab → · Contrast checker → · Palette generator →

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