#4F3496#4F3496

#4F3496 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.153 H 290.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4F3496
RGBrgb(79, 52, 150)
HSLhsl(257, 49%, 40%)
HSVhsv(257, 65%, 59%)
CMYKcmyk(47.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(30.21, 36.53, -49.81)
CIE-LCHlch(30.21, 61.77, 306.26°)
OKLaboklab(41.4% 0.0544 -0.1425)
OKLCHoklch(41.4% 0.153 290.9)
XYZxyz(9.9559, 6.3199, 29.5435)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3496 #7B9634
analogous
#344A96 #4F3496 #803496
triadic
#4F3496 #964F34 #34964F
tetradic
#4F3496 #96344A #7B9634 #349680
square
#4F3496 #96344A #7B9634 #349680
split-complementary
#4F3496 #968034 #4A9634
monochromatic
#1F143B #372469 #4F3496 #6948BF #8E75CF

Accessibility & contrast

On white

9.28
#4F3496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4F3496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3496
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3496#FFFFFF#000000##FFFFFF
##4F34961.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#394B60
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f3496;
/* rgb */ color: rgb(79, 52, 150);
/* oklch */ color: oklch(41.4% 0.153 290.9);
Tailwind
colors: {
  custom: {
    50: '#866db6',
    500: '#4f3496',
    950: '#000000',
  },
}
SCSS
$custom: #4f3496;
$custom-light: #866db6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3496",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 256.531,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.414,
    "c": 0.15254,
    "h": 290.9
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#4F3496
secondary
#A3B86E
accent
#D850B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4F3496

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

Preview Lab → · Contrast checker → · Palette generator →

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