#4F146A#4F146A

#4F146A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.143 H 312.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4F146A
RGBrgb(79, 20, 106)
HSLhsl(281, 68%, 25%)
HSVhsv(281, 81%, 42%)
CMYKcmyk(25.5%, 81.1%, 0%, 58.4%)
CIE-LABlab(20.84, 41.12, -37.26)
CIE-LCHlch(20.84, 55.49, 317.82°)
OKLaboklab(33.61% 0.0962 -0.1054)
OKLCHoklch(33.61% 0.143 312.4)
XYZxyz(6.0756, 3.2034, 13.9311)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F146A #2F6A14
analogous
#24146A #4F146A #6A145A
triadic
#4F146A #6A4F14 #146A4F
tetradic
#4F146A #6A2414 #2F6A14 #145A6A
square
#4F146A #6A2414 #2F6A14 #145A6A
split-complementary
#4F146A #5A6A14 #146A24
monochromatic
#13051A #290A37 #4F146A #751E9D #9C27D1

Accessibility & contrast

On white

12.80
#4F146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4F146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F146A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F146A#FFFFFF#000000##FFFFFF
##4F146A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#063368
Tritanopia (blue-blind)
#4C283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f146a;
/* rgb */ color: rgb(79, 20, 106);
/* oklch */ color: oklch(33.6% 0.143 312.4);
Tailwind
colors: {
  custom: {
    50: '#845995',
    500: '#4f146a',
    950: '#000000',
  },
}
SCSS
$custom: #4f146a;
$custom-light: #845995;
$custom-dark: #000000;
JSON
{
  "hex": "#4f146a",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 281.163,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.1427,
    "h": 312.4
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#4F146A
secondary
#5AA139
accent
#EB3D73
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F146A

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

Preview Lab → · Contrast checker → · Palette generator →

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