#4F114A#4F114A

#4F114A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.116 H 331.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4F114A
RGBrgb(79, 17, 74)
HSLhsl(305, 65%, 19%)
HSVhsv(305, 78%, 31%)
CMYKcmyk(0%, 78.5%, 6.3%, 69%)
CIE-LABlab(18.18, 35.69, -20.13)
CIE-LCHlch(18.18, 40.98, 330.58°)
OKLaboklab(30.99% 0.102 -0.0554)
OKLCHoklch(30.99% 0.116 331.5)
XYZxyz(4.6609, 2.5579, 6.7255)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F114A #114F16
analogous
#35114F #4F114A #4F112B
triadic
#4F114A #4A4F11 #114A4F
tetradic
#4F114A #4F3511 #114F16 #112B4F
square
#4F114A #4F3511 #114F16 #112B4F
split-complementary
#4F114A #2B4F11 #114F35
monochromatic
#190518 #1D061B #4F114A #811C79 #B427A8

Accessibility & contrast

On white

13.89
#4F114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F114A
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F114A#FFFFFF#000000##FFFFFF
##4F114A1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#242F48
Tritanopia (blue-blind)
#53182C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f114a;
/* rgb */ color: rgb(79, 17, 74);
/* oklch */ color: oklch(31.0% 0.116 331.5);
Tailwind
colors: {
  custom: {
    50: '#83567d',
    500: '#4f114a',
    950: '#000000',
  },
}
SCSS
$custom: #4f114a;
$custom-light: #83567d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f114a",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 304.839,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.11609,
    "h": 331.5
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#4F114A
secondary
#33883A
accent
#E84E40
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F114A

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

Preview Lab → · Contrast checker → · Palette generator →

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