#4F219C#4F219C

#4F219C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.182 H 293.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4F219C
RGBrgb(79, 33, 156)
HSLhsl(262, 65%, 37%)
HSVhsv(262, 79%, 61%)
CMYKcmyk(49.4%, 78.8%, 0%, 38.8%)
CIE-LABlab(27.16, 48.17, -58.46)
CIE-LCHlch(27.16, 75.75, 309.49°)
OKLaboklab(39.39% 0.0712 -0.1678)
OKLCHoklch(39.39% 0.182 293)
XYZxyz(9.7674, 5.1499, 31.9254)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F219C #6E9C21
analogous
#21319C #4F219C #8D219C
triadic
#4F219C #9C4F21 #219C4F
tetradic
#4F219C #9C2131 #6E9C21 #219C8D
square
#4F219C #9C2131 #6E9C21 #219C8D
split-complementary
#4F219C #9C8D21 #319C21
monochromatic
#1C0C37 #351669 #4F219C #692CCF #8B5BDC

Accessibility & contrast

On white

10.34
#4F219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F219C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F219C#FFFFFF#000000##FFFFFF
##4F219C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#37445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f219c;
/* rgb */ color: rgb(79, 33, 156);
/* oklch */ color: oklch(39.4% 0.182 293.0);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#4f219c',
    950: '#000000',
  },
}
SCSS
$custom: #4f219c;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f219c",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 262.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.1823,
    "h": 293
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#4F219C
secondary
#9AC158
accent
#E840A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F219C

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

Preview Lab → · Contrast checker → · Palette generator →

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