#4F219E#4F219E

#4F219E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.185 H 292.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4F219E
RGBrgb(79, 33, 158)
HSLhsl(262, 65%, 37%)
HSVhsv(262, 79%, 62%)
CMYKcmyk(50%, 79.1%, 0%, 38%)
CIE-LABlab(27.35, 48.71, -59.37)
CIE-LCHlch(27.35, 76.79, 309.37°)
OKLaboklab(39.58% 0.0706 -0.1705)
OKLCHoklch(39.58% 0.185 292.5)
XYZxyz(9.9381, 5.2182, 32.8247)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F219E #709E21
analogous
#21329E #4F219E #8E219E
triadic
#4F219E #9E4F21 #219E4F
tetradic
#4F219E #9E2132 #709E21 #219E8E
square
#4F219E #9E2132 #709E21 #219E8E
split-complementary
#4F219E #9E8E21 #329E21
monochromatic
#1C0C39 #36166B #4F219E #682CD1 #8C5CDD

Accessibility & contrast

On white

10.27
#4F219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F219E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F219E#FFFFFF#000000##FFFFFF
##4F219E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#35445F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f219e;
/* rgb */ color: rgb(79, 33, 158);
/* oklch */ color: oklch(39.6% 0.185 292.5);
Tailwind
colors: {
  custom: {
    50: '#8962bc',
    500: '#4f219e',
    950: '#000000',
  },
}
SCSS
$custom: #4f219e;
$custom-light: #8962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f219e",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 262.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.18452,
    "h": 292.5
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#4F219E
secondary
#9BC159
accent
#E83FAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F219E

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

Preview Lab → · Contrast checker → · Palette generator →

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