#4F329B#4F329B

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

Color values

HEX#4F329B
RGBrgb(79, 50, 155)
HSLhsl(257, 51%, 40%)
HSVhsv(257, 68%, 61%)
CMYKcmyk(49%, 67.7%, 0%, 39.2%)
CIE-LABlab(30.18, 39.17, -52.91)
CIE-LCHlch(30.18, 65.83, 306.52°)
OKLaboklab(41.51% 0.0559 -0.1516)
OKLCHoklch(41.51% 0.162 290.3)
XYZxyz(10.2798, 6.3096, 31.6802)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F329B #7E9B32
analogous
#324A9B #4F329B #83329B
triadic
#4F329B #9B4F32 #329B4F
tetradic
#4F329B #9B324A #7E9B32 #329B83
square
#4F329B #9B324A #7E9B32 #329B83
split-complementary
#4F329B #9B8332 #4A9B32
monochromatic
#20143E #37236D #4F329B #6947C4 #8F75D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F329B#FFFFFF#000000##FFFFFF
##4F329B1.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)
#00499E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#364C62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f329b;
/* rgb */ color: rgb(79, 50, 155);
/* oklch */ color: oklch(41.5% 0.162 290.3);
Tailwind
colors: {
  custom: {
    50: '#876cb9',
    500: '#4f329b',
    950: '#000000',
  },
}
SCSS
$custom: #4f329b;
$custom-light: #876cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f329b",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 256.571,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.16158,
    "h": 290.3
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#4F329B
secondary
#A6BB6E
accent
#DB4DB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F329B

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

Preview Lab → · Contrast checker → · Palette generator →

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