#4F389A#4F389A

#4F389A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.152 H 289.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#4F389A
RGBrgb(79, 56, 154)
HSLhsl(254, 47%, 41%)
HSVhsv(254, 64%, 60%)
CMYKcmyk(48.7%, 63.6%, 0%, 39.6%)
CIE-LABlab(31.40, 35.37, -50.31)
CIE-LCHlch(31.40, 61.50, 305.10°)
OKLaboklab(42.37% 0.0496 -0.144)
OKLCHoklch(42.37% 0.152 289)
XYZxyz(10.4697, 6.8233, 31.3310)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F389A #839A38
analogous
#38529A #4F389A #80389A
triadic
#4F389A #9A4F38 #389A4F
tetradic
#4F389A #9A3852 #839A38 #389A80
square
#4F389A #9A3852 #839A38 #389A80
split-complementary
#4F389A #9A8038 #529A38
monochromatic
#211740 #38286D #4F389A #6A50BF #907DD0

Accessibility & contrast

On white

8.88
#4F389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F389A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F389A#FFFFFF#000000##FFFFFF
##4F389A1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#364F63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f389a;
/* rgb */ color: rgb(79, 56, 154);
/* oklch */ color: oklch(42.4% 0.152 289.0);
Tailwind
colors: {
  custom: {
    50: '#8770b8',
    500: '#4f389a',
    950: '#000000',
  },
}
SCSS
$custom: #4f389a;
$custom-light: #8770b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f389a",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 254.082,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.15228,
    "h": 289
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#4F389A
secondary
#A9B975
accent
#D651B7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4F389A

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

Preview Lab → · Contrast checker → · Palette generator →

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