#4F359B#4F359B

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

Color values

HEX#4F359B
RGBrgb(79, 53, 155)
HSLhsl(255, 49%, 41%)
HSVhsv(255, 66%, 61%)
CMYKcmyk(49%, 65.8%, 0%, 39.2%)
CIE-LABlab(30.82, 37.44, -51.87)
CIE-LCHlch(30.82, 63.97, 305.82°)
OKLaboklab(41.97% 0.0528 -0.1485)
OKLCHoklch(41.97% 0.158 289.6)
XYZxyz(10.4123, 6.5746, 31.7244)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F359B #819B35
analogous
#354E9B #4F359B #82359B
triadic
#4F359B #9B4F35 #359B4F
tetradic
#4F359B #9B354E #819B35 #359B82
square
#4F359B #9B354E #819B35 #359B82
split-complementary
#4F359B #9B8235 #4E9B35
monochromatic
#211640 #38256D #4F359B #6A4CC2 #9079D1

Accessibility & contrast

On white

9.07
#4F359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F359B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F359B#FFFFFF#000000##FFFFFF
##4F359B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#364E63
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f359b;
/* rgb */ color: rgb(79, 53, 155);
/* oklch */ color: oklch(42.0% 0.158 289.6);
Tailwind
colors: {
  custom: {
    50: '#876eb9',
    500: '#4f359b',
    950: '#000000',
  },
}
SCSS
$custom: #4f359b;
$custom-light: #876eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f359b",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 255.294,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.15765,
    "h": 289.6
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#4F359B
secondary
#A8BA72
accent
#D94FB6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F359B

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

Preview Lab → · Contrast checker → · Palette generator →

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