#4F196C#4F196C

#4F196C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.139 H 310.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4F196C
RGBrgb(79, 25, 108)
HSLhsl(279, 62%, 26%)
HSVhsv(279, 77%, 42%)
CMYKcmyk(26.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(21.73, 39.50, -37.13)
CIE-LCHlch(21.73, 54.21, 316.77°)
OKLaboklab(34.28% 0.0907 -0.1051)
OKLCHoklch(34.28% 0.139 310.8)
XYZxyz(6.2783, 3.4404, 14.5178)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F196C #366C19
analogous
#25196C #4F196C #6C195F
triadic
#4F196C #6C4F19 #196C4F
tetradic
#4F196C #6C2519 #366C19 #195F6C
square
#4F196C #6C2519 #366C19 #195F6C
split-complementary
#4F196C #5F6C19 #196C25
monochromatic
#120619 #2B0D3A #4F196C #73259E #9830CF

Accessibility & contrast

On white

12.44
#4F196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4F196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F196C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F196C#FFFFFF#000000##FFFFFF
##4F196C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#0A356A
Tritanopia (blue-blind)
#4B2C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4f196c;
/* rgb */ color: rgb(79, 25, 108);
/* oklch */ color: oklch(34.3% 0.139 310.8);
Tailwind
colors: {
  custom: {
    50: '#845c97',
    500: '#4f196c',
    950: '#000000',
  },
}
SCSS
$custom: #4f196c;
$custom-light: #845c97;
$custom-dark: #000000;
JSON
{
  "hex": "#4f196c",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 279.036,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34283,
    "c": 0.13885,
    "h": 310.8
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#4F196C
secondary
#62A13F
accent
#E5427B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F196C

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

Preview Lab → · Contrast checker → · Palette generator →

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