#4F199C#4F199C

#4F199C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.189 H 294.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4F199C
RGBrgb(79, 25, 156)
HSLhsl(265, 72%, 35%)
HSVhsv(265, 84%, 61%)
CMYKcmyk(49.4%, 84%, 0%, 38.8%)
CIE-LABlab(26.03, 51.45, -60.31)
CIE-LCHlch(26.03, 79.27, 310.47°)
OKLaboklab(38.61% 0.0769 -0.1731)
OKLCHoklch(38.61% 0.189 294)
XYZxyz(9.5712, 4.7575, 31.8600)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F199C #669C19
analogous
#19249C #4F199C #90199C
triadic
#4F199C #9C4F19 #199C4F
tetradic
#4F199C #9C1924 #669C19 #199C90
square
#4F199C #9C1924 #669C19 #199C90
split-complementary
#4F199C #9C9019 #249C19
monochromatic
#1A0833 #341167 #4F199C #6A21D1 #8B4DE2

Accessibility & contrast

On white

10.76
#4F199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F199C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F199C#FFFFFF#000000##FFFFFF
##4F199C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#37405C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f199c;
/* rgb */ color: rgb(79, 25, 156);
/* oklch */ color: oklch(38.6% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#895eba',
    500: '#4f199c',
    950: '#000000',
  },
}
SCSS
$custom: #4f199c;
$custom-light: #895eba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f199c",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 264.733,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.18945,
    "h": 294
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#4F199C
secondary
#93C44C
accent
#EF39A4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4F199C

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

Preview Lab → · Contrast checker → · Palette generator →

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