#4F148F#4F148F

#4F148F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.180 H 298.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#4F148F
RGBrgb(79, 20, 143)
HSLhsl(269, 75%, 32%)
HSVhsv(269, 86%, 56%)
CMYKcmyk(44.8%, 86%, 0%, 43.9%)
CIE-LABlab(24.15, 49.94, -55.39)
CIE-LCHlch(24.15, 74.58, 312.04°)
OKLaboklab(36.93% 0.0849 -0.1587)
OKLCHoklch(36.93% 0.18 298.2)
XYZxyz(8.4312, 4.1456, 26.3372)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F148F #548F14
analogous
#14178F #4F148F #8C148F
triadic
#4F148F #8F4F14 #148F4F
tetradic
#4F148F #8F1417 #548F14 #148F8C
square
#4F148F #8F1417 #548F14 #148F8C
split-complementary
#4F148F #8F8C14 #178F14
monochromatic
#140524 #310C59 #4F148F #6D1CC5 #8B3AE3

Accessibility & contrast

On white

11.48
#4F148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F148F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F148F#FFFFFF#000000##FFFFFF
##4F148F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#3E3954
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f148f;
/* rgb */ color: rgb(79, 20, 143);
/* oklch */ color: oklch(36.9% 0.180 298.2);
Tailwind
colors: {
  custom: {
    50: '#885cb1',
    500: '#4f148f',
    950: '#000000',
  },
}
SCSS
$custom: #4f148f;
$custom-light: #885cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f148f",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 268.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.18,
    "h": 298.2
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#4F148F
secondary
#82C33C
accent
#F23698
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4F148F

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

Preview Lab → · Contrast checker → · Palette generator →

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