#4F1057#4F1057

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

Color values

HEX#4F1057
RGBrgb(79, 16, 87)
HSLhsl(293, 69%, 20%)
HSVhsv(293, 82%, 34%)
CMYKcmyk(9.2%, 81.6%, 0%, 65.9%)
CIE-LABlab(18.89, 38.56, -27.83)
CIE-LCHlch(18.89, 47.55, 324.19°)
OKLaboklab(31.78% 0.1029 -0.0778)
OKLCHoklch(31.78% 0.129 322.9)
XYZxyz(5.1299, 2.7213, 9.2700)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1057 #185710
analogous
#2B1057 #4F1057 #57103C
triadic
#4F1057 #574F10 #10574F
tetradic
#4F1057 #572B10 #185710 #103C57
square
#4F1057 #572B10 #185710 #103C57
split-complementary
#4F1057 #3C5710 #10572B
monochromatic
#17051A #200623 #4F1057 #7E1A8B #AD23BE

Accessibility & contrast

On white

13.60
#4F1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4F1057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1057
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1057#FFFFFF#000000##FFFFFF
##4F10571.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#1C3055
Tritanopia (blue-blind)
#501E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1057;
/* rgb */ color: rgb(79, 16, 87);
/* oklch */ color: oklch(31.8% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#835687',
    500: '#4f1057',
    950: '#000000',
  },
}
SCSS
$custom: #4f1057;
$custom-light: #835687;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1057",
  "rgb": {
    "r": 79,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 293.239,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.12895,
    "h": 322.9
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#4F1057
secondary
#3D9032
accent
#EC3C50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F1057

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

Preview Lab → · Contrast checker → · Palette generator →

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