#4F359E#4F359E

#4F359E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.162 H 288.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4F359E
RGBrgb(79, 53, 158)
HSLhsl(255, 50%, 41%)
HSVhsv(255, 66%, 62%)
CMYKcmyk(50%, 66.5%, 0%, 38%)
CIE-LABlab(31.06, 38.34, -53.30)
CIE-LCHlch(31.06, 65.66, 305.73°)
OKLaboklab(42.22% 0.0524 -0.1527)
OKLCHoklch(42.22% 0.162 288.9)
XYZxyz(10.6673, 6.6766, 33.0678)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F359E #849E35
analogous
#35509E #4F359E #84359E
triadic
#4F359E #9E4F35 #359E4F
tetradic
#4F359E #9E3550 #849E35 #359E84
square
#4F359E #9E3550 #849E35 #359E84
split-complementary
#4F359E #9E8435 #509E35
monochromatic
#211642 #382670 #4F359E #6A4DC3 #917BD3

Accessibility & contrast

On white

8.99
#4F359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F359E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F359E#FFFFFF#000000##FFFFFF
##4F359E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f359e;
/* rgb */ color: rgb(79, 53, 158);
/* oklch */ color: oklch(42.2% 0.162 288.9);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4f359e',
    950: '#000000',
  },
}
SCSS
$custom: #4f359e;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f359e",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 254.857,
    "s": 49.763,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.1615,
    "h": 288.9
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#4F359E
secondary
#AABB73
accent
#D94FB7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F359E

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

Preview Lab → · Contrast checker → · Palette generator →

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