#4F135C#4F135C

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

Color values

HEX#4F135C
RGBrgb(79, 19, 92)
HSLhsl(289, 66%, 22%)
HSVhsv(289, 79%, 36%)
CMYKcmyk(14.1%, 79.3%, 0%, 63.9%)
CIE-LABlab(19.64, 38.45, -29.97)
CIE-LCHlch(19.64, 48.75, 322.07°)
OKLaboklab(32.42% 0.0993 -0.084)
OKLCHoklch(32.42% 0.13 319.8)
XYZxyz(5.3888, 2.9010, 10.3992)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F135C #205C13
analogous
#2B135C #4F135C #5C1345
triadic
#4F135C #5C4F13 #135C4F
tetradic
#4F135C #5C2B13 #205C13 #13455C
square
#4F135C #5C2B13 #205C13 #13455C
split-complementary
#4F135C #455C13 #135C2B
monochromatic
#160519 #230929 #4F135C #7B1D8F #A628C1

Accessibility & contrast

On white

13.29
#4F135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4F135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F135C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F135C#FFFFFF#000000##FFFFFF
##4F135C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#19325A
Tritanopia (blue-blind)
#4F2236
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4f135c;
/* rgb */ color: rgb(79, 19, 92);
/* oklch */ color: oklch(32.4% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#83588b',
    500: '#4f135c',
    950: '#000000',
  },
}
SCSS
$custom: #4f135c;
$custom-light: #83588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f135c",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 289.315,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32423,
    "c": 0.13012,
    "h": 319.8
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#4F135C
secondary
#479437
accent
#E93F5D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4F135C

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

Preview Lab → · Contrast checker → · Palette generator →

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