#4E39AF#4E39AF

#4E39AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.178 H 284.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E39AF
RGBrgb(78, 57, 175)
HSLhsl(251, 51%, 45%)
HSVhsv(251, 67%, 69%)
CMYKcmyk(55.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(33.22, 41.02, -59.99)
CIE-LCHlch(33.22, 72.68, 304.36°)
OKLaboklab(44.19% 0.0448 -0.1724)
OKLCHoklch(44.19% 0.178 284.6)
XYZxyz(12.3405, 7.6404, 41.3736)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39AF #9AAF39
analogous
#395FAF #4E39AF #8939AF
triadic
#4E39AF #AF4E39 #39AF4E
tetradic
#4E39AF #AF395F #9AAF39 #39AF89
square
#4E39AF #AF395F #9AAF39 #39AF89
split-complementary
#4E39AF #AF8939 #5FAF39
monochromatic
#251B53 #392A81 #4E39AF #6F5BCA #988AD9

Accessibility & contrast

On white

8.31
#4E39AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E39AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39AF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39AF#FFFFFF#000000##FFFFFF
##4E39AF1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#22576F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e39af;
/* rgb */ color: rgb(78, 57, 175);
/* oklch */ color: oklch(44.2% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#8971c8',
    500: '#4e39af',
    950: '#000000',
  },
}
SCSS
$custom: #4e39af;
$custom-light: #8971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39af",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 250.678,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.17818,
    "h": 284.6
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#4E39AF
secondary
#B7C381
accent
#DA4DC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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