#4F39AC#4F39AC

#4F39AC is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.174 H 285.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4F39AC
RGBrgb(79, 57, 172)
HSLhsl(251, 50%, 45%)
HSVhsv(251, 67%, 67%)
CMYKcmyk(54.1%, 66.9%, 0%, 32.5%)
CIE-LABlab(33.06, 40.27, -58.46)
CIE-LCHlch(33.06, 70.99, 304.56°)
OKLaboklab(44.02% 0.0466 -0.1679)
OKLCHoklch(44.02% 0.174 285.5)
XYZxyz(12.1317, 7.5664, 39.8429)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39AC #96AC39
analogous
#395DAC #4F39AC #8839AC
triadic
#4F39AC #AC4F39 #39AC4F
tetradic
#4F39AC #AC395D #96AC39 #39AC88
square
#4F39AC #AC395D #96AC39 #39AC88
split-complementary
#4F39AC #AC8839 #5DAC39
monochromatic
#251B50 #3A2A7E #4F39AC #6F5AC8 #9788D8

Accessibility & contrast

On white

8.36
#4F39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4F39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39AC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39AC#FFFFFF#000000##FFFFFF
##4F39AC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#28566D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f39ac;
/* rgb */ color: rgb(79, 57, 172);
/* oklch */ color: oklch(44.0% 0.174 285.5);
Tailwind
colors: {
  custom: {
    50: '#8971c6',
    500: '#4f39ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f39ac;
$custom-light: #8971c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39ac",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 251.478,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.17428,
    "h": 285.5
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#4F39AC
secondary
#B5C27F
accent
#DA4EBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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