#4F349C#4F349C

#4F349C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.9% C 0.160 H 289.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4F349C
RGBrgb(79, 52, 156)
HSLhsl(256, 50%, 41%)
HSVhsv(256, 67%, 61%)
CMYKcmyk(49.4%, 66.7%, 0%, 38.8%)
CIE-LABlab(30.68, 38.32, -52.70)
CIE-LCHlch(30.68, 65.16, 306.02°)
OKLaboklab(41.9% 0.0537 -0.151)
OKLCHoklch(41.9% 0.16 289.6)
XYZxyz(10.4515, 6.5181, 32.1535)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F349C #819C34
analogous
#344D9C #4F349C #83349C
triadic
#4F349C #9C4F34 #349C4F
tetradic
#4F349C #9C344D #819C34 #349C83
square
#4F349C #9C344D #819C34 #349C83
split-complementary
#4F349C #9C8334 #4D9C34
monochromatic
#211540 #38256E #4F349C #6A4AC3 #9078D2

Accessibility & contrast

On white

9.12
#4F349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F349C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F349C#FFFFFF#000000##FFFFFF
##4F349C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#354D63
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f349c;
/* rgb */ color: rgb(79, 52, 156);
/* oklch */ color: oklch(41.9% 0.160 289.6);
Tailwind
colors: {
  custom: {
    50: '#876dba',
    500: '#4f349c',
    950: '#000000',
  },
}
SCSS
$custom: #4f349c;
$custom-light: #876dba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f349c",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 255.577,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.16025,
    "h": 289.6
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#4F349C
secondary
#A8BB71
accent
#DA4EB5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F349C

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

Preview Lab → · Contrast checker → · Palette generator →

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