#4F1B63#4F1B63

#4F1B63 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.127 H 315.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4F1B63
RGBrgb(79, 27, 99)
HSLhsl(283, 57%, 25%)
HSVhsv(283, 73%, 39%)
CMYKcmyk(20.2%, 72.7%, 0%, 61.2%)
CIE-LABlab(21.38, 36.48, -31.80)
CIE-LCHlch(21.38, 48.40, 318.92°)
OKLaboklab(33.83% 0.0896 -0.0895)
OKLCHoklch(33.83% 0.127 315)
XYZxyz(5.8681, 3.3472, 12.1389)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B63 #2F631B
analogous
#2B1B63 #4F1B63 #631B53
triadic
#4F1B63 #634F1B #1B634F
tetradic
#4F1B63 #632B1B #2F631B #1B5363
square
#4F1B63 #632B1B #2F631B #1B5363
split-complementary
#4F1B63 #53631B #1B632B
monochromatic
#130718 #290E33 #4F1B63 #752893 #9C35C3

Accessibility & contrast

On white

12.58
#4F1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4F1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B63
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B63#FFFFFF#000000##FFFFFF
##4F1B631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#193561
Tritanopia (blue-blind)
#4D293C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1b63;
/* rgb */ color: rgb(79, 27, 99);
/* oklch */ color: oklch(33.8% 0.127 315.0);
Tailwind
colors: {
  custom: {
    50: '#835c90',
    500: '#4f1b63',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b63;
$custom-light: #835c90;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b63",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 283.333,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.12661,
    "h": 315
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#4F1B63
secondary
#5A9841
accent
#E04772
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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