#4F148D#4F148D

#4F148D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.178 H 298.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4F148D
RGBrgb(79, 20, 141)
HSLhsl(269, 75%, 32%)
HSVhsv(269, 86%, 55%)
CMYKcmyk(44%, 85.8%, 0%, 44.7%)
CIE-LABlab(23.95, 49.45, -54.47)
CIE-LCHlch(23.95, 73.57, 312.24°)
OKLaboklab(36.73% 0.0857 -0.156)
OKLCHoklch(36.73% 0.178 298.8)
XYZxyz(8.2811, 4.0855, 25.5464)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F148D #528D14
analogous
#14168D #4F148D #8C148D
triadic
#4F148D #8D4F14 #148D4F
tetradic
#4F148D #8D1416 #528D14 #148D8C
square
#4F148D #8D1416 #528D14 #148D8C
split-complementary
#4F148D #8D8C14 #168D14
monochromatic
#130522 #310C57 #4F148D #6D1CC3 #8C39E3

Accessibility & contrast

On white

11.56
#4F148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4F148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F148D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F148D#FFFFFF#000000##FFFFFF
##4F148D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#3F3853
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f148d;
/* rgb */ color: rgb(79, 20, 141);
/* oklch */ color: oklch(36.7% 0.178 298.8);
Tailwind
colors: {
  custom: {
    50: '#875baf',
    500: '#4f148d',
    950: '#000000',
  },
}
SCSS
$custom: #4f148d;
$custom-light: #875baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f148d",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 269.256,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.17798,
    "h": 298.8
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#4F148D
secondary
#80C13C
accent
#F23696
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4F148D

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

Preview Lab → · Contrast checker → · Palette generator →

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