#4F2192#4F2192

#4F2192 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.171 H 295.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4F2192
RGBrgb(79, 33, 146)
HSLhsl(264, 63%, 35%)
HSVhsv(264, 77%, 57%)
CMYKcmyk(45.9%, 77.4%, 0%, 42.7%)
CIE-LABlab(26.23, 45.49, -53.84)
CIE-LCHlch(26.23, 70.48, 310.20°)
OKLaboklab(38.46% 0.0741 -0.1542)
OKLCHoklch(38.46% 0.171 295.7)
XYZxyz(8.9552, 4.8251, 27.6481)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2192 #649221
analogous
#212B92 #4F2192 #872192
triadic
#4F2192 #924F21 #21924F
tetradic
#4F2192 #92212B #649221 #219287
square
#4F2192 #92212B #649221 #219287
split-complementary
#4F2192 #928721 #2B9221
monochromatic
#190A2E #341660 #4F2192 #6A2CC4 #8A55D9

Accessibility & contrast

On white

10.69
#4F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4F2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2192
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2192#FFFFFF#000000##FFFFFF
##4F21921.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#3C3F58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2192;
/* rgb */ color: rgb(79, 33, 146);
/* oklch */ color: oklch(38.5% 0.171 295.7);
Tailwind
colors: {
  custom: {
    50: '#8762b3',
    500: '#4f2192',
    950: '#000000',
  },
}
SCSS
$custom: #4f2192;
$custom-light: #8762b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2192",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 264.425,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.17114,
    "h": 295.7
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#4F2192
secondary
#91BC53
accent
#E642A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2192

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

Preview Lab → · Contrast checker → · Palette generator →

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