#4E368A#4E368A

#4E368A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.134 H 292.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#4E368A
RGBrgb(78, 54, 138)
HSLhsl(257, 44%, 38%)
HSVhsv(257, 61%, 54%)
CMYKcmyk(43.5%, 60.9%, 0%, 45.9%)
CIE-LABlab(29.65, 31.55, -43.34)
CIE-LCHlch(29.65, 53.61, 306.05°)
OKLaboklab(40.68% 0.0515 -0.1235)
OKLCHoklch(40.68% 0.134 292.6)
XYZxyz(9.0473, 6.0928, 24.7392)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E368A #728A36
analogous
#36488A #4E368A #78368A
triadic
#4E368A #8A4E36 #368A4E
tetradic
#4E368A #8A3648 #728A36 #368A78
square
#4E368A #8A3648 #728A36 #368A78
split-complementary
#4E368A #8A7836 #488A36
monochromatic
#1C1432 #35255E #4E368A #6747B6 #8B72C8

Accessibility & contrast

On white

9.47
#4E368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E368A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E368A#FFFFFF#000000##FFFFFF
##4E368A1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#064488
Tritanopia (blue-blind)
#3D495A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e368a;
/* rgb */ color: rgb(78, 54, 138);
/* oklch */ color: oklch(40.7% 0.134 292.6);
Tailwind
colors: {
  custom: {
    50: '#846ead',
    500: '#4e368a',
    950: '#000000',
  },
}
SCSS
$custom: #4e368a;
$custom-light: #846ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4e368a",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 257.143,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.1338,
    "h": 292.6
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#4E368A
secondary
#9DB16B
accent
#D354AF
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E368A

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

Preview Lab → · Contrast checker → · Palette generator →

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