#4F1857#4F1857

#4F1857 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.119 H 322.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4F1857
RGBrgb(79, 24, 87)
HSLhsl(292, 57%, 22%)
HSVhsv(292, 72%, 34%)
CMYKcmyk(9.2%, 72.4%, 0%, 65.9%)
CIE-LABlab(20.06, 35.25, -25.96)
CIE-LCHlch(20.06, 43.78, 323.63°)
OKLaboklab(32.61% 0.0939 -0.0724)
OKLCHoklch(32.61% 0.119 322.4)
XYZxyz(5.2712, 3.0039, 9.3171)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1857 #205718
analogous
#301857 #4F1857 #571840
triadic
#4F1857 #574F18 #18574F
tetradic
#4F1857 #573018 #205718 #184057
square
#4F1857 #573018 #205718 #184057
split-complementary
#4F1857 #405718 #185730
monochromatic
#160718 #230B27 #4F1857 #7B2587 #A632B7

Accessibility & contrast

On white

13.12
#4F1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1857
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1857#FFFFFF#000000##FFFFFF
##4F18571.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#502335
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f1857;
/* rgb */ color: rgb(79, 24, 87);
/* oklch */ color: oklch(32.6% 0.119 322.4);
Tailwind
colors: {
  custom: {
    50: '#835a87',
    500: '#4f1857',
    950: '#000000',
  },
}
SCSS
$custom: #4f1857;
$custom-light: #835a87;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1857",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 292.381,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.11853,
    "h": 322.4
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#4F1857
secondary
#478E3D
accent
#E0485B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4F1857

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

Preview Lab → · Contrast checker → · Palette generator →

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