#4F1E65#4F1E65

#4F1E65 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.124 H 313.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#4F1E65
RGBrgb(79, 30, 101)
HSLhsl(281, 54%, 26%)
HSVhsv(281, 70%, 40%)
CMYKcmyk(21.8%, 70.3%, 0%, 60.4%)
CIE-LABlab(22.05, 35.47, -32.04)
CIE-LCHlch(22.05, 47.80, 317.91°)
OKLaboklab(34.35% 0.0857 -0.0902)
OKLCHoklch(34.35% 0.124 313.5)
XYZxyz(6.0373, 3.5306, 12.6728)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E65 #34651E
analogous
#2B1E65 #4F1E65 #651E57
triadic
#4F1E65 #654F1E #1E654F
tetradic
#4F1E65 #652B1E #34651E #1E5765
square
#4F1E65 #652B1E #34651E #1E5765
split-complementary
#4F1E65 #57651E #1E652B
monochromatic
#120718 #2A1036 #4F1E65 #742C94 #993AC3

Accessibility & contrast

On white

12.31
#4F1E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4F1E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E65
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E65#FFFFFF#000000##FFFFFF
##4F1E651.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1A3663
Tritanopia (blue-blind)
#4D2C3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4f1e65;
/* rgb */ color: rgb(79, 30, 101);
/* oklch */ color: oklch(34.4% 0.124 313.5);
Tailwind
colors: {
  custom: {
    50: '#835e91',
    500: '#4f1e65',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e65;
$custom-light: #835e91;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e65",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 281.408,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34351,
    "c": 0.12441,
    "h": 313.5
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#4F1E65
secondary
#5F9A45
accent
#DE4A78
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1E65

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

Preview Lab → · Contrast checker → · Palette generator →

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