#4E3089#4E3089

#4E3089 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.141 H 294.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3089
RGBrgb(78, 48, 137)
HSLhsl(260, 48%, 36%)
HSVhsv(260, 65%, 54%)
CMYKcmyk(43.1%, 65%, 0%, 46.3%)
CIE-LABlab(28.22, 34.85, -45.03)
CIE-LCHlch(28.22, 56.94, 307.74°)
OKLaboklab(39.62% 0.0588 -0.1285)
OKLCHoklch(39.62% 0.141 294.6)
XYZxyz(8.7130, 5.5395, 24.2722)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3089 #6B8930
analogous
#303F89 #4E3089 #7B3089
triadic
#4E3089 #894E30 #30894E
tetradic
#4E3089 #89303F #6B8930 #30897B
square
#4E3089 #89303F #6B8930 #30897B
split-complementary
#4E3089 #897B30 #3F8930
monochromatic
#1A102E #34205C #4E3089 #6840B6 #8A69CA

Accessibility & contrast

On white

9.96
#4E3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3089
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3089#FFFFFF#000000##FFFFFF
##4E30891.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#3E4458
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3089;
/* rgb */ color: rgb(78, 48, 137);
/* oklch */ color: oklch(39.6% 0.141 294.6);
Tailwind
colors: {
  custom: {
    50: '#846aac',
    500: '#4e3089',
    950: '#000000',
  },
}
SCSS
$custom: #4e3089;
$custom-light: #846aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3089",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 260.225,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.14128,
    "h": 294.6
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#4E3089
secondary
#97B263
accent
#D850AA
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3089

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

Preview Lab → · Contrast checker → · Palette generator →

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