#4F1E63#4F1E63

#4F1E63 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.122 H 314.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4F1E63
RGBrgb(79, 30, 99)
HSLhsl(283, 53%, 25%)
HSVhsv(283, 70%, 39%)
CMYKcmyk(20.2%, 69.7%, 0%, 61.2%)
CIE-LABlab(21.92, 35.00, -30.95)
CIE-LCHlch(21.92, 46.72, 318.51°)
OKLaboklab(34.21% 0.0858 -0.087)
OKLCHoklch(34.21% 0.122 314.6)
XYZxyz(5.9405, 3.4919, 12.1630)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1E63 #32631E
analogous
#2D1E63 #4F1E63 #631E54
triadic
#4F1E63 #634F1E #1E634F
tetradic
#4F1E63 #632D1E #32631E #1E5463
square
#4F1E63 #632D1E #32631E #1E5463
split-complementary
#4F1E63 #54631E #1E632D
monochromatic
#130717 #2A1034 #4F1E63 #742C92 #9A3AC1

Accessibility & contrast

On white

12.36
#4F1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4F1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1E63
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1E63#FFFFFF#000000##FFFFFF
##4F1E631.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003265
Deuteranopia (green-blind)
#1C3661
Tritanopia (blue-blind)
#4D2B3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f1e63;
/* rgb */ color: rgb(79, 30, 99);
/* oklch */ color: oklch(34.2% 0.122 314.6);
Tailwind
colors: {
  custom: {
    50: '#835e90',
    500: '#4f1e63',
    950: '#000000',
  },
}
SCSS
$custom: #4f1e63;
$custom-light: #835e90;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1e63",
  "rgb": {
    "r": 79,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 282.609,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34206,
    "c": 0.12221,
    "h": 314.6
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#4F1E63
secondary
#5D9845
accent
#DD4B75
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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