#4F114E#4F114E

#4F114E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.120 H 328.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4F114E
RGBrgb(79, 17, 78)
HSLhsl(301, 65%, 19%)
HSVhsv(301, 78%, 31%)
CMYKcmyk(0%, 78.5%, 1.3%, 69%)
CIE-LABlab(18.42, 36.43, -22.48)
CIE-LCHlch(18.42, 42.81, 328.33°)
OKLaboklab(31.25% 0.1022 -0.0622)
OKLCHoklch(31.25% 0.12 328.7)
XYZxyz(4.8000, 2.6136, 7.4579)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F114E #114F12
analogous
#31114F #4F114E #4F112F
triadic
#4F114E #4E4F11 #114E4F
tetradic
#4F114E #4F3111 #114F12 #112F4F
square
#4F114E #4F3111 #114F12 #112F4F
split-complementary
#4F114E #2F4F11 #114F31
monochromatic
#190519 #1D061C #4F114E #811C80 #B427B1

Accessibility & contrast

On white

13.79
#4F114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F114E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F114E#FFFFFF#000000##FFFFFF
##4F114E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072850
Deuteranopia (green-blind)
#22304C
Tritanopia (blue-blind)
#521A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f114e;
/* rgb */ color: rgb(79, 17, 78);
/* oklch */ color: oklch(31.3% 0.120 328.7);
Tailwind
colors: {
  custom: {
    50: '#835680',
    500: '#4f114e',
    950: '#000000',
  },
}
SCSS
$custom: #4f114e;
$custom-light: #835680;
$custom-dark: #000000;
JSON
{
  "hex": "#4f114e",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 300.968,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3125,
    "c": 0.1196,
    "h": 328.7
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#4F114E
secondary
#338835
accent
#E84340
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F114E

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

Preview Lab → · Contrast checker → · Palette generator →

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