#4F136E#4F136E

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

Color values

HEX#4F136E
RGBrgb(79, 19, 110)
HSLhsl(280, 71%, 25%)
HSVhsv(280, 83%, 43%)
CMYKcmyk(28.2%, 82.7%, 0%, 56.9%)
CIE-LABlab(21.03, 42.42, -39.55)
CIE-LCHlch(21.03, 57.99, 317.00°)
OKLaboklab(33.84% 0.0962 -0.1122)
OKLCHoklch(33.84% 0.148 310.6)
XYZxyz(6.2712, 3.2539, 15.0465)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F136E #326E13
analogous
#21136E #4F136E #6E1360
triadic
#4F136E #6E4F13 #136E4F
tetradic
#4F136E #6E2113 #326E13 #13606E
square
#4F136E #6E2113 #326E13 #13606E
split-complementary
#4F136E #606E13 #136E21
monochromatic
#13051A #2A0A3A #4F136E #741CA2 #9A25D6

Accessibility & contrast

On white

12.72
#4F136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F136E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F136E#FFFFFF#000000##FFFFFF
##4F136E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#4B2A41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f136e;
/* rgb */ color: rgb(79, 19, 110);
/* oklch */ color: oklch(33.8% 0.148 310.6);
Tailwind
colors: {
  custom: {
    50: '#845998',
    500: '#4f136e',
    950: '#000000',
  },
}
SCSS
$custom: #4f136e;
$custom-light: #845998;
$custom-dark: #000000;
JSON
{
  "hex": "#4f136e",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 279.56,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33844,
    "c": 0.14776,
    "h": 310.6
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#4F136E
secondary
#5DA538
accent
#ED3A77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F136E

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

Preview Lab → · Contrast checker → · Palette generator →

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