#4F349E#4F349E

#4F349E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.163 H 289.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4F349E
RGBrgb(79, 52, 158)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(50%, 67.1%, 0%, 38%)
CIE-LABlab(30.85, 38.92, -53.65)
CIE-LCHlch(30.85, 66.27, 305.96°)
OKLaboklab(42.06% 0.0535 -0.1538)
OKLCHoklch(42.06% 0.163 289.2)
XYZxyz(10.6222, 6.5864, 33.0527)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F349E #839E34
analogous
#344E9E #4F349E #84349E
triadic
#4F349E #9E4F34 #349E4F
tetradic
#4F349E #9E344E #839E34 #349E84
square
#4F349E #9E344E #839E34 #349E84
split-complementary
#4F349E #9E8434 #4E9E34
monochromatic
#211642 #382570 #4F349E #6A4BC4 #9079D3

Accessibility & contrast

On white

9.06
#4F349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F349E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F349E#FFFFFF#000000##FFFFFF
##4F349E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#344E64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f349e;
/* rgb */ color: rgb(79, 52, 158);
/* oklch */ color: oklch(42.1% 0.163 289.2);
Tailwind
colors: {
  custom: {
    50: '#886dbb',
    500: '#4f349e',
    950: '#000000',
  },
}
SCSS
$custom: #4f349e;
$custom-light: #886dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f349e",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 255.283,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42064,
    "c": 0.1628,
    "h": 289.2
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F349E

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

Preview Lab → · Contrast checker → · Palette generator →

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