#4F1D64#4F1D64

#4F1D64 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.1% C 0.125 H 314.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4F1D64
RGBrgb(79, 29, 100)
HSLhsl(282, 55%, 25%)
HSVhsv(282, 71%, 39%)
CMYKcmyk(21%, 71%, 0%, 60.8%)
CIE-LABlab(21.80, 35.74, -31.79)
CIE-LCHlch(21.80, 47.83, 318.35°)
OKLaboklab(34.15% 0.087 -0.0894)
OKLCHoklch(34.15% 0.125 314.2)
XYZxyz(5.9637, 3.4613, 12.4081)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1D64 #32641D
analogous
#2C1D64 #4F1D64 #641D55
triadic
#4F1D64 #644F1D #1D644F
tetradic
#4F1D64 #642C1D #32641D #1D5564
square
#4F1D64 #642C1D #32641D #1D5564
split-complementary
#4F1D64 #55641D #1D642C
monochromatic
#130718 #2A0F35 #4F1D64 #742B93 #9A39C3

Accessibility & contrast

On white

12.41
#4F1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1D64
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1D64#FFFFFF#000000##FFFFFF
##4F1D641.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#1A3562
Tritanopia (blue-blind)
#4D2B3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1d64;
/* rgb */ color: rgb(79, 29, 100);
/* oklch */ color: oklch(34.1% 0.125 314.2);
Tailwind
colors: {
  custom: {
    50: '#835d91',
    500: '#4f1d64',
    950: '#000000',
  },
}
SCSS
$custom: #4f1d64;
$custom-light: #835d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1d64",
  "rgb": {
    "r": 79,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 282.254,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34149,
    "c": 0.12479,
    "h": 314.2
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#4F1D64
secondary
#5D9944
accent
#DE4975
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4F1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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