#4F115E#4F115E

#4F115E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.134 H 318.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4F115E
RGBrgb(79, 17, 94)
HSLhsl(288, 69%, 22%)
HSVhsv(288, 82%, 37%)
CMYKcmyk(16%, 81.9%, 0%, 63.1%)
CIE-LABlab(19.52, 39.64, -31.49)
CIE-LCHlch(19.52, 50.62, 321.53°)
OKLaboklab(32.38% 0.1011 -0.0885)
OKLCHoklch(32.38% 0.134 318.8)
XYZxyz(5.4450, 2.8716, 10.8550)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F115E #205E11
analogous
#29115E #4F115E #5E1147
triadic
#4F115E #5E4F11 #115E4F
tetradic
#4F115E #5E2911 #205E11 #11475E
square
#4F115E #5E2911 #205E11 #11475E
split-complementary
#4F115E #475E11 #115E29
monochromatic
#16051A #23082A #4F115E #7B1A92 #A624C6

Accessibility & contrast

On white

13.34
#4F115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4F115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F115E
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F115E#FFFFFF#000000##FFFFFF
##4F115E1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#16315C
Tritanopia (blue-blind)
#4F2237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4f115e;
/* rgb */ color: rgb(79, 17, 94);
/* oklch */ color: oklch(32.4% 0.134 318.8);
Tailwind
colors: {
  custom: {
    50: '#83578c',
    500: '#4f115e',
    950: '#000000',
  },
}
SCSS
$custom: #4f115e;
$custom-light: #83578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f115e",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 288.312,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32384,
    "c": 0.13436,
    "h": 318.8
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#4F115E
secondary
#479734
accent
#EC3C5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4F115E

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

Preview Lab → · Contrast checker → · Palette generator →

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