#4F3C8A#4F3C8A

#4F3C8A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 41.8% C 0.125 H 291.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4F3C8A
RGBrgb(79, 60, 138)
HSLhsl(255, 39%, 39%)
HSVhsv(255, 57%, 54%)
CMYKcmyk(42.8%, 56.5%, 0%, 45.9%)
CIE-LABlab(31.18, 28.07, -40.86)
CIE-LCHlch(31.18, 49.58, 304.49°)
OKLaboklab(41.84% 0.0452 -0.1162)
OKLCHoklch(41.84% 0.125 291.3)
XYZxyz(9.4265, 6.7287, 24.8419)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3C8A #778A3C
analogous
#3C508A #4F3C8A #763C8A
triadic
#4F3C8A #8A4F3C #3C8A4F
tetradic
#4F3C8A #8A3C50 #778A3C #3C8A76
square
#4F3C8A #8A3C50 #778A3C #3C8A76
split-complementary
#4F3C8A #8A763C #508A3C
monochromatic
#1E1735 #37295F #4F3C8A #6850B3 #8D7BC6

Accessibility & contrast

On white

8.95
#4F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3C8A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3C8A#FFFFFF#000000##FFFFFF
##4F3C8A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#3F4D5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f3c8a;
/* rgb */ color: rgb(79, 60, 138);
/* oklch */ color: oklch(41.8% 0.125 291.3);
Tailwind
colors: {
  custom: {
    50: '#8472ad',
    500: '#4f3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f3c8a;
$custom-light: #8472ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3c8a",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 254.615,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.12468,
    "h": 291.3
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#4F3C8A
secondary
#A0AF73
accent
#CF59B2
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4F3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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