#4F1A63#4F1A63

#4F1A63 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.128 H 315.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#4F1A63
RGBrgb(79, 26, 99)
HSLhsl(284, 58%, 25%)
HSVhsv(284, 74%, 39%)
CMYKcmyk(20.2%, 73.7%, 0%, 61.2%)
CIE-LABlab(21.22, 36.95, -32.07)
CIE-LCHlch(21.22, 48.93, 319.04°)
OKLaboklab(33.7% 0.0908 -0.0903)
OKLCHoklch(33.7% 0.128 315.2)
XYZxyz(5.8456, 3.3021, 12.1314)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1A63 #2E631A
analogous
#2B1A63 #4F1A63 #631A53
triadic
#4F1A63 #634F1A #1A634F
tetradic
#4F1A63 #632B1A #2E631A #1A5363
square
#4F1A63 #632B1A #2E631A #1A5363
split-complementary
#4F1A63 #53631A #1A632B
monochromatic
#130618 #280D33 #4F1A63 #762793 #9C33C4

Accessibility & contrast

On white

12.65
#4F1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1A63
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1A63#FFFFFF#000000##FFFFFF
##4F1A631.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1a63;
/* rgb */ color: rgb(79, 26, 99);
/* oklch */ color: oklch(33.7% 0.128 315.2);
Tailwind
colors: {
  custom: {
    50: '#835c90',
    500: '#4f1a63',
    950: '#000000',
  },
}
SCSS
$custom: #4f1a63;
$custom-light: #835c90;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1a63",
  "rgb": {
    "r": 79,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 283.562,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33704,
    "c": 0.12802,
    "h": 315.2
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#4F1A63
secondary
#589940
accent
#E24671
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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