#4F389C#4F389C

#4F389C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.155 H 288.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4F389C
RGBrgb(79, 56, 156)
HSLhsl(254, 47%, 42%)
HSVhsv(254, 64%, 61%)
CMYKcmyk(49.4%, 64.1%, 0%, 38.8%)
CIE-LABlab(31.56, 35.97, -51.28)
CIE-LCHlch(31.56, 62.64, 305.05°)
OKLaboklab(42.53% 0.0495 -0.1468)
OKLCHoklch(42.53% 0.155 288.6)
XYZxyz(10.6376, 6.8905, 32.2155)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F389C #859C38
analogous
#38539C #4F389C #81389C
triadic
#4F389C #9C4F38 #389C4F
tetradic
#4F389C #9C3853 #859C38 #389C81
square
#4F389C #9C3853 #859C38 #389C81
split-complementary
#4F389C #9C8138 #539C38
monochromatic
#211842 #38286F #4F389C #6A51C0 #917ED1

Accessibility & contrast

On white

8.83
#4F389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F389C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F389C#FFFFFF#000000##FFFFFF
##4F389C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#355064
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f389c;
/* rgb */ color: rgb(79, 56, 156);
/* oklch */ color: oklch(42.5% 0.155 288.6);
Tailwind
colors: {
  custom: {
    50: '#8770ba',
    500: '#4f389c',
    950: '#000000',
  },
}
SCSS
$custom: #4f389c;
$custom-light: #8770ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f389c",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 253.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.15491,
    "h": 288.6
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#4F389C
secondary
#AABA76
accent
#D751B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F389C

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

Preview Lab → · Contrast checker → · Palette generator →

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