#4F146C#4F146C

#4F146C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.8% C 0.145 H 311.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4F146C
RGBrgb(79, 20, 108)
HSLhsl(280, 69%, 25%)
HSVhsv(280, 81%, 42%)
CMYKcmyk(26.9%, 81.5%, 0%, 57.6%)
CIE-LABlab(21.00, 41.58, -38.30)
CIE-LCHlch(21.00, 56.53, 317.35°)
OKLaboklab(33.77% 0.0957 -0.1085)
OKLCHoklch(33.77% 0.145 311.4)
XYZxyz(6.1809, 3.2454, 14.4853)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F146C #316C14
analogous
#23146C #4F146C #6C145D
triadic
#4F146C #6C4F14 #146C4F
tetradic
#4F146C #6C2314 #316C14 #145D6C
square
#4F146C #6C2314 #316C14 #145D6C
split-complementary
#4F146C #5D6C14 #146C23
monochromatic
#13051A #290A38 #4F146C #751EA0 #9B27D3

Accessibility & contrast

On white

12.73
#4F146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F146C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F146C#FFFFFF#000000##FFFFFF
##4F146C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#02336A
Tritanopia (blue-blind)
#4B2940
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f146c;
/* rgb */ color: rgb(79, 20, 108);
/* oklch */ color: oklch(33.8% 0.145 311.4);
Tailwind
colors: {
  custom: {
    50: '#845997',
    500: '#4f146c',
    950: '#000000',
  },
}
SCSS
$custom: #4f146c;
$custom-light: #845997;
$custom-dark: #000000;
JSON
{
  "hex": "#4f146c",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 280.227,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.14471,
    "h": 311.4
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#4F146C
secondary
#5CA339
accent
#EC3C76
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F146C

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

Preview Lab → · Contrast checker → · Palette generator →

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