#4F146B#4F146B

#4F146B is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.144 H 311.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4F146B
RGBrgb(79, 20, 107)
HSLhsl(281, 69%, 25%)
HSVhsv(281, 81%, 42%)
CMYKcmyk(26.2%, 81.3%, 0%, 58%)
CIE-LABlab(20.92, 41.35, -37.78)
CIE-LCHlch(20.92, 56.01, 317.58°)
OKLaboklab(33.69% 0.0959 -0.107)
OKLCHoklch(33.69% 0.144 311.9)
XYZxyz(6.1280, 3.2243, 14.2066)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F146B #306B14
analogous
#24146B #4F146B #6B145B
triadic
#4F146B #6B4F14 #146B4F
tetradic
#4F146B #6B2414 #306B14 #145B6B
square
#4F146B #6B2414 #306B14 #145B6B
split-complementary
#4F146B #5B6B14 #146B24
monochromatic
#13051A #290A37 #4F146B #751E9F #9B27D2

Accessibility & contrast

On white

12.77
#4F146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F146B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F146B#FFFFFF#000000##FFFFFF
##4F146B1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#043369
Tritanopia (blue-blind)
#4C293F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f146b;
/* rgb */ color: rgb(79, 20, 107);
/* oklch */ color: oklch(33.7% 0.144 311.9);
Tailwind
colors: {
  custom: {
    50: '#845996',
    500: '#4f146b',
    950: '#000000',
  },
}
SCSS
$custom: #4f146b;
$custom-light: #845996;
$custom-dark: #000000;
JSON
{
  "hex": "#4f146b",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 280.69,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33688,
    "c": 0.14371,
    "h": 311.9
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#4F146B
secondary
#5BA239
accent
#EB3C75
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F146B

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

Preview Lab → · Contrast checker → · Palette generator →

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