#4F359F#4F359F

#4F359F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.163 H 288.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4F359F
RGBrgb(79, 53, 159)
HSLhsl(255, 50%, 42%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(50.3%, 66.7%, 0%, 37.6%)
CIE-LABlab(31.14, 38.64, -53.77)
CIE-LCHlch(31.14, 66.22, 305.70°)
OKLaboklab(42.3% 0.0523 -0.1541)
OKLCHoklch(42.3% 0.163 288.7)
XYZxyz(10.7537, 6.7112, 33.5229)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F359F #859F35
analogous
#35509F #4F359F #84359F
triadic
#4F359F #9F4F35 #359F4F
tetradic
#4F359F #9F3550 #859F35 #359F84
square
#4F359F #9F3550 #859F35 #359F84
split-complementary
#4F359F #9F8435 #509F35
monochromatic
#211643 #382671 #4F359F #6A4DC4 #917BD3

Accessibility & contrast

On white

8.97
#4F359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4F359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F359F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F359F#FFFFFF#000000##FFFFFF
##4F359F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#334F65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f359f;
/* rgb */ color: rgb(79, 53, 159);
/* oklch */ color: oklch(42.3% 0.163 288.7);
Tailwind
colors: {
  custom: {
    50: '#886ebc',
    500: '#4f359f',
    950: '#000000',
  },
}
SCSS
$custom: #4f359f;
$custom-light: #886ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f359f",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 254.717,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42301,
    "c": 0.16277,
    "h": 288.7
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#4F359F
secondary
#AABC74
accent
#DA4EB7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F359F

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

Preview Lab → · Contrast checker → · Palette generator →

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