#4F219A#4F219A

#4F219A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.180 H 293.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4F219A
RGBrgb(79, 33, 154)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 60%)
CMYKcmyk(48.7%, 78.6%, 0%, 39.6%)
CIE-LABlab(26.97, 47.63, -57.54)
CIE-LCHlch(26.97, 74.70, 309.62°)
OKLaboklab(39.2% 0.0719 -0.1651)
OKLCHoklch(39.2% 0.18 293.5)
XYZxyz(9.5994, 5.0828, 31.0409)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F219A #6C9A21
analogous
#21309A #4F219A #8C219A
triadic
#4F219A #9A4F21 #219A4F
tetradic
#4F219A #9A2130 #6C9A21 #219A8C
square
#4F219A #9A2130 #6C9A21 #219A8C
split-complementary
#4F219A #9A8C21 #309A21
monochromatic
#1B0B35 #351668 #4F219A #692CCC #8B5ADC

Accessibility & contrast

On white

10.41
#4F219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F219A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F219A#FFFFFF#000000##FFFFFF
##4F219A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#38435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f219a;
/* rgb */ color: rgb(79, 33, 154);
/* oklch */ color: oklch(39.2% 0.180 293.5);
Tailwind
colors: {
  custom: {
    50: '#8862b9',
    500: '#4f219a',
    950: '#000000',
  },
}
SCSS
$custom: #4f219a;
$custom-light: #8862b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f219a",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 262.81,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39203,
    "c": 0.18008,
    "h": 293.5
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#4F219A
secondary
#98C057
accent
#E840A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F219A

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

Preview Lab → · Contrast checker → · Palette generator →

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