#4F358F#4F358F

#4F358F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.142 H 292.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4F358F
RGBrgb(79, 53, 143)
HSLhsl(257, 46%, 38%)
HSVhsv(257, 63%, 56%)
CMYKcmyk(44.8%, 62.9%, 0%, 43.9%)
CIE-LABlab(29.89, 33.86, -46.03)
CIE-LCHlch(29.89, 57.14, 306.34°)
OKLaboklab(41% 0.0539 -0.1314)
OKLCHoklch(41% 0.142 292.3)
XYZxyz(9.4541, 6.1914, 26.6782)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F358F #758F35
analogous
#35488F #4F358F #7C358F
triadic
#4F358F #8F4F35 #358F4F
tetradic
#4F358F #8F3548 #758F35 #358F7C
square
#4F358F #8F3548 #758F35 #358F7C
split-complementary
#4F358F #8F7C35 #488F35
monochromatic
#1E1436 #362462 #4F358F #6847BB #8D73CB

Accessibility & contrast

On white

9.38
#4F358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F358F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F358F#FFFFFF#000000##FFFFFF
##4F358F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#3D4A5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f358f;
/* rgb */ color: rgb(79, 53, 143);
/* oklch */ color: oklch(41.0% 0.142 292.3);
Tailwind
colors: {
  custom: {
    50: '#856db0',
    500: '#4f358f',
    950: '#000000',
  },
}
SCSS
$custom: #4f358f;
$custom-light: #856db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f358f",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 257.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41002,
    "c": 0.14198,
    "h": 292.3
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#4F358F
secondary
#9FB46C
accent
#D652B0
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4F358F

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

Preview Lab → · Contrast checker → · Palette generator →

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