#4F146F#4F146F

#4F146F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.148 H 310.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#4F146F
RGBrgb(79, 20, 111)
HSLhsl(279, 69%, 26%)
HSVhsv(279, 82%, 44%)
CMYKcmyk(28.8%, 82%, 0%, 56.5%)
CIE-LABlab(21.25, 42.27, -39.85)
CIE-LCHlch(21.25, 58.09, 316.69°)
OKLaboklab(34.02% 0.0951 -0.1131)
OKLCHoklch(34.02% 0.148 310.1)
XYZxyz(6.3433, 3.3104, 15.3407)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F146F #346F14
analogous
#21146F #4F146F #6F1461
triadic
#4F146F #6F4F14 #146F4F
tetradic
#4F146F #6F2114 #346F14 #14616F
square
#4F146F #6F2114 #346F14 #14616F
split-complementary
#4F146F #616F14 #146F21
monochromatic
#12051A #2A0B3B #4F146F #741DA3 #9927D7

Accessibility & contrast

On white

12.64
#4F146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F146F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F146F#FFFFFF#000000##FFFFFF
##4F146F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#4A2B41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f146f;
/* rgb */ color: rgb(79, 20, 111);
/* oklch */ color: oklch(34.0% 0.148 310.1);
Tailwind
colors: {
  custom: {
    50: '#845999',
    500: '#4f146f',
    950: '#000000',
  },
}
SCSS
$custom: #4f146f;
$custom-light: #845999;
$custom-dark: #000000;
JSON
{
  "hex": "#4f146f",
  "rgb": {
    "r": 79,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 278.901,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.14771,
    "h": 310.1
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#4F146F
secondary
#5FA639
accent
#EC3C7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F146F

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

Preview Lab → · Contrast checker → · Palette generator →

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