#4E3088#4E3088

#4E3088 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.140 H 294.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4E3088
RGBrgb(78, 48, 136)
HSLhsl(260, 48%, 36%)
HSVhsv(260, 65%, 53%)
CMYKcmyk(42.6%, 64.7%, 0%, 46.7%)
CIE-LABlab(28.14, 34.56, -44.53)
CIE-LCHlch(28.14, 56.36, 307.81°)
OKLaboklab(39.54% 0.0589 -0.127)
OKLCHoklch(39.54% 0.14 294.9)
XYZxyz(8.6416, 5.5110, 23.8962)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3088 #6A8830
analogous
#303E88 #4E3088 #7A3088
triadic
#4E3088 #884E30 #30884E
tetradic
#4E3088 #88303E #6A8830 #30887A
square
#4E3088 #88303E #6A8830 #30887A
split-complementary
#4E3088 #887A30 #3E8830
monochromatic
#1A102E #34205B #4E3088 #6840B5 #8A69CA

Accessibility & contrast

On white

9.99
#4E3088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E3088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3088
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3088#FFFFFF#000000##FFFFFF
##4E30881.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#3F4457
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3088;
/* rgb */ color: rgb(78, 48, 136);
/* oklch */ color: oklch(39.5% 0.140 294.9);
Tailwind
colors: {
  custom: {
    50: '#846aab',
    500: '#4e3088',
    950: '#000000',
  },
}
SCSS
$custom: #4e3088;
$custom-light: #846aab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3088",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 260.455,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.13999,
    "h": 294.9
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#4E3088
secondary
#96B163
accent
#D750A9
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E3088

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

Preview Lab → · Contrast checker → · Palette generator →

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