#4F349B#4F349B

#4F349B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.8% C 0.159 H 289.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4F349B
RGBrgb(79, 52, 155)
HSLhsl(256, 50%, 41%)
HSVhsv(256, 66%, 61%)
CMYKcmyk(49%, 66.5%, 0%, 39.2%)
CIE-LABlab(30.60, 38.02, -52.22)
CIE-LCHlch(30.60, 64.59, 306.06°)
OKLaboklab(41.81% 0.0539 -0.1496)
OKLCHoklch(41.81% 0.159 289.8)
XYZxyz(10.3671, 6.4844, 31.7094)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F349B #809B34
analogous
#344D9B #4F349B #82349B
triadic
#4F349B #9B4F34 #349B4F
tetradic
#4F349B #9B344D #809B34 #349B82
square
#4F349B #9B344D #809B34 #349B82
split-complementary
#4F349B #9B8234 #4D9B34
monochromatic
#20153F #38256D #4F349B #694AC2 #8F78D2

Accessibility & contrast

On white

9.14
#4F349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F349B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F349B#FFFFFF#000000##FFFFFF
##4F349B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#364D63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f349b;
/* rgb */ color: rgb(79, 52, 155);
/* oklch */ color: oklch(41.8% 0.159 289.8);
Tailwind
colors: {
  custom: {
    50: '#876db9',
    500: '#4f349b',
    950: '#000000',
  },
}
SCSS
$custom: #4f349b;
$custom-light: #876db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f349b",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 255.728,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.15897,
    "h": 289.8
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#4F349B
secondary
#A7BA71
accent
#D94FB5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F349B

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

Preview Lab → · Contrast checker → · Palette generator →

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