#4F389F#4F389F

#4F389F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.159 H 288.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4F389F
RGBrgb(79, 56, 159)
HSLhsl(253, 48%, 42%)
HSVhsv(253, 65%, 62%)
CMYKcmyk(50.3%, 64.8%, 0%, 37.6%)
CIE-LABlab(31.79, 36.88, -52.71)
CIE-LCHlch(31.79, 64.34, 304.98°)
OKLaboklab(42.77% 0.0492 -0.151)
OKLCHoklch(42.77% 0.159 288)
XYZxyz(10.8948, 6.9933, 33.5700)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F389F #889F38
analogous
#38559F #4F389F #83389F
triadic
#4F389F #9F4F38 #389F4F
tetradic
#4F389F #9F3855 #889F38 #389F83
square
#4F389F #9F3855 #889F38 #389F83
split-complementary
#4F389F #9F8338 #559F38
monochromatic
#221844 #392872 #4F389F #6B52C2 #927FD2

Accessibility & contrast

On white

8.75
#4F389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4F389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F389F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F389F#FFFFFF#000000##FFFFFF
##4F389F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#335166
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f389f;
/* rgb */ color: rgb(79, 56, 159);
/* oklch */ color: oklch(42.8% 0.159 288.0);
Tailwind
colors: {
  custom: {
    50: '#8770bc',
    500: '#4f389f',
    950: '#000000',
  },
}
SCSS
$custom: #4f389f;
$custom-light: #8770bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f389f",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 253.398,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.15883,
    "h": 288
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#4F389F
secondary
#ACBB77
accent
#D750B9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F389F

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

Preview Lab → · Contrast checker → · Palette generator →

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