#4C39AA#4C39AA

#4C39AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.6% C 0.172 H 284.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4C39AA
RGBrgb(76, 57, 170)
HSLhsl(250, 50%, 45%)
HSVhsv(250, 66%, 67%)
CMYKcmyk(55.3%, 66.5%, 0%, 33.3%)
CIE-LABlab(32.62, 39.12, -57.99)
CIE-LCHlch(32.62, 69.96, 304.00°)
OKLaboklab(43.59% 0.0427 -0.1666)
OKLCHoklch(43.59% 0.172 284.4)
XYZxyz(11.6971, 7.3644, 38.8275)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C39AA #97AA39
analogous
#395FAA #4C39AA #8439AA
triadic
#4C39AA #AA4C39 #39AA4C
tetradic
#4C39AA #AA395F #97AA39 #39AA84
square
#4C39AA #AA395F #97AA39 #39AA84
split-complementary
#4C39AA #AA8439 #5FAA39
monochromatic
#231A4E #382A7C #4C39AA #6B59C7 #9487D7

Accessibility & contrast

On white

8.49
#4C39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C39AA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C39AA#FFFFFF#000000##FFFFFF
##4C39AA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#22556C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c39aa;
/* rgb */ color: rgb(76, 57, 170);
/* oklch */ color: oklch(43.6% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#8771c4',
    500: '#4c39aa',
    950: '#000000',
  },
}
SCSS
$custom: #4c39aa;
$custom-light: #8771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c39aa",
  "rgb": {
    "r": 76,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 250.088,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.17204,
    "h": 284.4
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#4C39AA
secondary
#B6C17E
accent
#D94EC2
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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