#4F1B68#4F1B68

#4F1B68 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.132 H 312.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4F1B68
RGBrgb(79, 27, 104)
HSLhsl(281, 59%, 26%)
HSVhsv(281, 74%, 41%)
CMYKcmyk(24%, 74%, 0%, 59.2%)
CIE-LABlab(21.75, 37.64, -34.49)
CIE-LCHlch(21.75, 51.05, 317.50°)
OKLaboklab(34.2% 0.0891 -0.0974)
OKLCHoklch(34.2% 0.132 312.5)
XYZxyz(6.1146, 3.4458, 13.4370)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1B68 #34681B
analogous
#281B68 #4F1B68 #681B5A
triadic
#4F1B68 #684F1B #1B684F
tetradic
#4F1B68 #68281B #34681B #1B5A68
square
#4F1B68 #68281B #34681B #1B5A68
split-complementary
#4F1B68 #5A681B #1B6828
monochromatic
#120618 #2A0E37 #4F1B68 #742899 #9934C9

Accessibility & contrast

On white

12.43
#4F1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1B68
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1B68#FFFFFF#000000##FFFFFF
##4F1B681.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#133566
Tritanopia (blue-blind)
#4C2B3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1b68;
/* rgb */ color: rgb(79, 27, 104);
/* oklch */ color: oklch(34.2% 0.132 312.5);
Tailwind
colors: {
  custom: {
    50: '#835c94',
    500: '#4f1b68',
    950: '#000000',
  },
}
SCSS
$custom: #4f1b68;
$custom-light: #835c94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1b68",
  "rgb": {
    "r": 79,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 280.519,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.342,
    "c": 0.13197,
    "h": 312.5
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#4F1B68
secondary
#5F9D42
accent
#E24679
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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