#4F2196#4F2196

#4F2196 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.176 H 294.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4F2196
RGBrgb(79, 33, 150)
HSLhsl(264, 64%, 36%)
HSVhsv(264, 78%, 59%)
CMYKcmyk(47.3%, 78%, 0%, 41.2%)
CIE-LABlab(26.60, 46.56, -55.70)
CIE-LCHlch(26.60, 72.60, 309.89°)
OKLaboklab(38.83% 0.073 -0.1597)
OKLCHoklch(38.83% 0.176 294.6)
XYZxyz(9.2718, 4.9517, 29.3155)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2196 #689621
analogous
#212D96 #4F2196 #892196
triadic
#4F2196 #964F21 #21964F
tetradic
#4F2196 #96212D #689621 #219689
square
#4F2196 #96212D #689621 #219689
split-complementary
#4F2196 #968921 #2D9621
monochromatic
#1A0B32 #351664 #4F2196 #692CC8 #8B57DA

Accessibility & contrast

On white

10.55
#4F2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2196
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2196#FFFFFF#000000##FFFFFF
##4F21961.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#3A415B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2196;
/* rgb */ color: rgb(79, 33, 150);
/* oklch */ color: oklch(38.8% 0.176 294.6);
Tailwind
colors: {
  custom: {
    50: '#8862b6',
    500: '#4f2196',
    950: '#000000',
  },
}
SCSS
$custom: #4f2196;
$custom-light: #8862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2196",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 263.59,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.17562,
    "h": 294.6
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#4F2196
secondary
#95BE55
accent
#E741A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2196

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

Preview Lab → · Contrast checker → · Palette generator →

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