#4F136F#4F136F

#4F136F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.149 H 310.2°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4F136F
RGBrgb(79, 19, 111)
HSLhsl(279, 71%, 25%)
HSVhsv(279, 83%, 44%)
CMYKcmyk(28.8%, 82.9%, 0%, 56.5%)
CIE-LABlab(21.12, 42.64, -40.06)
CIE-LCHlch(21.12, 58.51, 316.79°)
OKLaboklab(33.93% 0.0959 -0.1137)
OKLCHoklch(33.93% 0.149 310.2)
XYZxyz(6.3260, 3.2758, 15.3349)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F136F #336F13
analogous
#21136F #4F136F #6F1361
triadic
#4F136F #6F4F13 #136F4F
tetradic
#4F136F #6F2113 #336F13 #13616F
square
#4F136F #6F2113 #336F13 #13616F
split-complementary
#4F136F #616F13 #136F21
monochromatic
#13041A #2A0A3B #4F136F #741CA3 #9925D8

Accessibility & contrast

On white

12.69
#4F136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F136F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F136F#FFFFFF#000000##FFFFFF
##4F136F1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f136f;
/* rgb */ color: rgb(79, 19, 111);
/* oklch */ color: oklch(33.9% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#845999',
    500: '#4f136f',
    950: '#000000',
  },
}
SCSS
$custom: #4f136f;
$custom-light: #845999;
$custom-dark: #000000;
JSON
{
  "hex": "#4f136f",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 279.13,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.14875,
    "h": 310.2
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#4F136F
secondary
#5EA638
accent
#EE3A79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F136F

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

Preview Lab → · Contrast checker → · Palette generator →

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