#4F1150#4F1150

#4F1150 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.121 H 327.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4F1150
RGBrgb(79, 17, 80)
HSLhsl(299, 65%, 19%)
HSVhsv(299, 79%, 31%)
CMYKcmyk(1.2%, 78.8%, 0%, 68.6%)
CIE-LABlab(18.55, 36.81, -23.64)
CIE-LCHlch(18.55, 43.75, 327.30°)
OKLaboklab(31.38% 0.1022 -0.0655)
OKLCHoklch(31.38% 0.121 327.3)
XYZxyz(4.8728, 2.6427, 7.8413)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1150 #125011
analogous
#301150 #4F1150 #501132
triadic
#4F1150 #504F11 #11504F
tetradic
#4F1150 #503011 #125011 #113250
square
#4F1150 #503011 #125011 #113250
split-complementary
#4F1150 #325011 #115030
monochromatic
#190519 #1D061E #4F1150 #811C82 #B326B5

Accessibility & contrast

On white

13.74
#4F1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1150
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1150#FFFFFF#000000##FFFFFF
##4F11501.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#21304E
Tritanopia (blue-blind)
#521B2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1150;
/* rgb */ color: rgb(79, 17, 80);
/* oklch */ color: oklch(31.4% 0.121 327.3);
Tailwind
colors: {
  custom: {
    50: '#835781',
    500: '#4f1150',
    950: '#000000',
  },
}
SCSS
$custom: #4f1150;
$custom-light: #835781;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1150",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 299.048,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31383,
    "c": 0.12138,
    "h": 327.3
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#4F1150
secondary
#358933
accent
#E84043
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F1150

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

Preview Lab → · Contrast checker → · Palette generator →

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