#4F2194#4F2194

#4F2194 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.173 H 295.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4F2194
RGBrgb(79, 33, 148)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 58%)
CMYKcmyk(46.6%, 77.7%, 0%, 42%)
CIE-LABlab(26.41, 46.03, -54.77)
CIE-LCHlch(26.41, 71.54, 310.04°)
OKLaboklab(38.64% 0.0736 -0.157)
OKLCHoklch(38.64% 0.173 295.1)
XYZxyz(9.1122, 4.8879, 28.4746)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2194 #669421
analogous
#212C94 #4F2194 #882194
triadic
#4F2194 #944F21 #21944F
tetradic
#4F2194 #94212C #669421 #219488
square
#4F2194 #94212C #669421 #219488
split-complementary
#4F2194 #948821 #2C9421
monochromatic
#1A0B30 #341662 #4F2194 #6A2CC6 #8B56D9

Accessibility & contrast

On white

10.62
#4F2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2194
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2194#FFFFFF#000000##FFFFFF
##4F21941.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#3B4059
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2194;
/* rgb */ color: rgb(79, 33, 148);
/* oklch */ color: oklch(38.6% 0.173 295.1);
Tailwind
colors: {
  custom: {
    50: '#8862b4',
    500: '#4f2194',
    950: '#000000',
  },
}
SCSS
$custom: #4f2194;
$custom-light: #8862b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2194",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 264,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.17338,
    "h": 295.1
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#4F2194
secondary
#93BD54
accent
#E741A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2194

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

Preview Lab → · Contrast checker → · Palette generator →

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