#4F219B#4F219B

#4F219B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.181 H 293.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4F219B
RGBrgb(79, 33, 155)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(49%, 78.7%, 0%, 39.2%)
CIE-LABlab(27.06, 47.90, -58.00)
CIE-LCHlch(27.06, 75.23, 309.55°)
OKLaboklab(39.3% 0.0716 -0.1665)
OKLCHoklch(39.3% 0.181 293.3)
XYZxyz(9.6831, 5.1162, 31.4813)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F219B #6D9B21
analogous
#21309B #4F219B #8C219B
triadic
#4F219B #9B4F21 #219B4F
tetradic
#4F219B #9B2130 #6D9B21 #219B8C
square
#4F219B #9B2130 #6D9B21 #219B8C
split-complementary
#4F219B #9B8C21 #309B21
monochromatic
#1C0C36 #351669 #4F219B #692CCD #8B5ADC

Accessibility & contrast

On white

10.38
#4F219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F219B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F219B#FFFFFF#000000##FFFFFF
##4F219B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#37435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f219b;
/* rgb */ color: rgb(79, 33, 155);
/* oklch */ color: oklch(39.3% 0.181 293.3);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#4f219b',
    950: '#000000',
  },
}
SCSS
$custom: #4f219b;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f219b",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 262.623,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.18119,
    "h": 293.3
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#4F219B
secondary
#99C058
accent
#E840A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F219B

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

Preview Lab → · Contrast checker → · Palette generator →

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