#4E36AF#4E36AF

#4E36AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.182 H 285.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4E36AF
RGBrgb(78, 54, 175)
HSLhsl(252, 53%, 45%)
HSVhsv(252, 69%, 69%)
CMYKcmyk(55.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(32.60, 42.73, -61.02)
CIE-LCHlch(32.60, 74.49, 305.00°)
OKLaboklab(43.74% 0.0476 -0.1754)
OKLCHoklch(43.74% 0.182 285.2)
XYZxyz(12.1966, 7.3525, 41.3256)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36AF #97AF36
analogous
#365AAF #4E36AF #8B36AF
triadic
#4E36AF #AF4E36 #36AF4E
tetradic
#4E36AF #AF365A #97AF36 #36AF8B
square
#4E36AF #AF365A #97AF36 #36AF8B
split-complementary
#4E36AF #AF8B36 #5AAF36
monochromatic
#241951 #392880 #4E36AF #6E57CB #9686DA

Accessibility & contrast

On white

8.50
#4E36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E36AF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36AF#FFFFFF#000000##FFFFFF
##4E36AF1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#22556E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e36af;
/* rgb */ color: rgb(78, 54, 175);
/* oklch */ color: oklch(43.7% 0.182 285.2);
Tailwind
colors: {
  custom: {
    50: '#896fc8',
    500: '#4e36af',
    950: '#000000',
  },
}
SCSS
$custom: #4e36af;
$custom-light: #896fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36af",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 251.901,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.18178,
    "h": 285.2
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#4E36AF
secondary
#B6C37D
accent
#DC4CC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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