#4F1058#4F1058

#4F1058 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.130 H 322.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#4F1058
RGBrgb(79, 16, 88)
HSLhsl(293, 69%, 20%)
HSVhsv(293, 82%, 35%)
CMYKcmyk(10.2%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.96, 38.76, -28.39)
CIE-LCHlch(18.96, 48.05, 323.79°)
OKLaboklab(31.85% 0.1028 -0.0794)
OKLCHoklch(31.85% 0.13 322.3)
XYZxyz(5.1710, 2.7377, 9.4867)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1058 #195810
analogous
#2B1058 #4F1058 #58103D
triadic
#4F1058 #584F10 #10584F
tetradic
#4F1058 #582B10 #195810 #103D58
square
#4F1058 #582B10 #195810 #103D58
split-complementary
#4F1058 #3D5810 #10582B
monochromatic
#17051A #210724 #4F1058 #7D198C #AC23C0

Accessibility & contrast

On white

13.57
#4F1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1058
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1058#FFFFFF#000000##FFFFFF
##4F10581.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#501E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1058;
/* rgb */ color: rgb(79, 16, 88);
/* oklch */ color: oklch(31.8% 0.130 322.3);
Tailwind
colors: {
  custom: {
    50: '#835787',
    500: '#4f1058',
    950: '#000000',
  },
}
SCSS
$custom: #4f1058;
$custom-light: #835787;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1058",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 292.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.12987,
    "h": 322.3
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#4F1058
secondary
#3E9132
accent
#EC3C52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1058

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

Preview Lab → · Contrast checker → · Palette generator →

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