#4F39AB#4F39AB

#4F39AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.173 H 285.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4F39AB
RGBrgb(79, 57, 171)
HSLhsl(252, 50%, 45%)
HSVhsv(252, 67%, 67%)
CMYKcmyk(53.8%, 66.7%, 0%, 32.9%)
CIE-LABlab(32.98, 39.96, -58.00)
CIE-LCHlch(32.98, 70.43, 304.57°)
OKLaboklab(43.94% 0.0468 -0.1666)
OKLCHoklch(43.94% 0.173 285.7)
XYZxyz(12.0361, 7.5282, 39.3390)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39AB #95AB39
analogous
#395CAB #4F39AB #8839AB
triadic
#4F39AB #AB4F39 #39AB4F
tetradic
#4F39AB #AB395C #95AB39 #39AB88
square
#4F39AB #AB395C #95AB39 #39AB88
split-complementary
#4F39AB #AB8839 #5CAB39
monochromatic
#251A4F #3A2A7D #4F39AB #6F59C8 #9787D7

Accessibility & contrast

On white

8.38
#4F39AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F39AB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39AB#FFFFFF#000000##FFFFFF
##4F39AB1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#29566D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f39ab;
/* rgb */ color: rgb(79, 57, 171);
/* oklch */ color: oklch(43.9% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#8971c5',
    500: '#4f39ab',
    950: '#000000',
  },
}
SCSS
$custom: #4f39ab;
$custom-light: #8971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39ab",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 251.579,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.173,
    "h": 285.7
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F39AB

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

Preview Lab → · Contrast checker → · Palette generator →

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