#4D39AC#4D39AC

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

Color values

HEX#4D39AC
RGBrgb(77, 57, 172)
HSLhsl(250, 50%, 45%)
HSVhsv(250, 67%, 67%)
CMYKcmyk(55.2%, 66.9%, 0%, 32.5%)
CIE-LABlab(32.88, 39.92, -58.77)
CIE-LCHlch(32.88, 71.04, 304.19°)
OKLaboklab(43.84% 0.0439 -0.1689)
OKLCHoklch(43.84% 0.174 284.6)
XYZxyz(11.9678, 7.4819, 39.8353)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D39AC #98AC39
analogous
#395EAC #4D39AC #8739AC
triadic
#4D39AC #AC4D39 #39AC4D
tetradic
#4D39AC #AC395E #98AC39 #39AC87
square
#4D39AC #AC395E #98AC39 #39AC87
split-complementary
#4D39AC #AC8739 #5EAC39
monochromatic
#241B50 #382A7E #4D39AC #6D5AC8 #9688D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D39AC#FFFFFF#000000##FFFFFF
##4D39AC1.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)
#0051B0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#22566D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d39ac;
/* rgb */ color: rgb(77, 57, 172);
/* oklch */ color: oklch(43.8% 0.174 284.6);
Tailwind
colors: {
  custom: {
    50: '#8871c6',
    500: '#4d39ac',
    950: '#000000',
  },
}
SCSS
$custom: #4d39ac;
$custom-light: #8871c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d39ac",
  "rgb": {
    "r": 77,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 250.435,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.17448,
    "h": 284.6
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#4D39AC
secondary
#B6C27F
accent
#DA4EC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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