#4F349D#4F349D

#4F349D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.162 H 289.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4F349D
RGBrgb(79, 52, 157)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(49.7%, 66.9%, 0%, 38.4%)
CIE-LABlab(30.76, 38.62, -53.17)
CIE-LCHlch(30.76, 65.72, 305.99°)
OKLaboklab(41.98% 0.0536 -0.1524)
OKLCHoklch(41.98% 0.162 289.4)
XYZxyz(10.5365, 6.5521, 32.6013)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F349D #829D34
analogous
#344D9D #4F349D #83349D
triadic
#4F349D #9D4F34 #349D4F
tetradic
#4F349D #9D344D #829D34 #349D83
square
#4F349D #9D344D #829D34 #349D83
split-complementary
#4F349D #9D8334 #4D9D34
monochromatic
#211641 #38256F #4F349D #6A4BC3 #9079D3

Accessibility & contrast

On white

9.09
#4F349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4F349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F349D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F349D#FFFFFF#000000##FFFFFF
##4F349D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#354E64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f349d;
/* rgb */ color: rgb(79, 52, 157);
/* oklch */ color: oklch(42.0% 0.162 289.4);
Tailwind
colors: {
  custom: {
    50: '#876dbb',
    500: '#4f349d',
    950: '#000000',
  },
}
SCSS
$custom: #4f349d;
$custom-light: #876dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f349d",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 255.429,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4198,
    "c": 0.16152,
    "h": 289.4
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#4F349D
secondary
#A8BB72
accent
#DA4EB6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F349D

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

Preview Lab → · Contrast checker → · Palette generator →

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