#4F39AA#4F39AA

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

Color values

HEX#4F39AA
RGBrgb(79, 57, 170)
HSLhsl(252, 50%, 45%)
HSVhsv(252, 66%, 67%)
CMYKcmyk(53.5%, 66.5%, 0%, 33.3%)
CIE-LABlab(32.90, 39.66, -57.53)
CIE-LCHlch(32.90, 69.88, 304.58°)
OKLaboklab(43.85% 0.0469 -0.1652)
OKLCHoklch(43.85% 0.172 285.8)
XYZxyz(11.9411, 7.4902, 38.8390)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F39AA #94AA39
analogous
#395CAA #4F39AA #8739AA
triadic
#4F39AA #AA4F39 #39AA4F
tetradic
#4F39AA #AA395C #94AA39 #39AA87
square
#4F39AA #AA395C #94AA39 #39AA87
split-complementary
#4F39AA #AA8739 #5CAA39
monochromatic
#241A4E #3A2A7C #4F39AA #6E59C7 #9687D7

Accessibility & contrast

On white

8.41
#4F39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4F39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F39AA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F39AA#FFFFFF#000000##FFFFFF
##4F39AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#2A556C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f39aa;
/* rgb */ color: rgb(79, 57, 170);
/* oklch */ color: oklch(43.9% 0.172 285.8);
Tailwind
colors: {
  custom: {
    50: '#8971c4',
    500: '#4f39aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f39aa;
$custom-light: #8971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f39aa",
  "rgb": {
    "r": 79,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 251.681,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.17173,
    "h": 285.8
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#4F39AA
secondary
#B4C17E
accent
#D94EBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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