#4E3078#4E3078

#4E3078 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.3% C 0.119 H 300.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4E3078
RGBrgb(78, 48, 120)
HSLhsl(265, 43%, 33%)
HSVhsv(265, 60%, 47%)
CMYKcmyk(35%, 60%, 0%, 52.9%)
CIE-LABlab(26.99, 30.00, -36.35)
CIE-LCHlch(26.99, 47.13, 309.53°)
OKLaboklab(38.33% 0.0596 -0.103)
OKLCHoklch(38.33% 0.119 300)
XYZxyz(7.5882, 5.0896, 18.3483)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3078 #5A7830
analogous
#303678 #4E3078 #723078
triadic
#4E3078 #784E30 #30784E
tetradic
#4E3078 #783036 #5A7830 #307872
square
#4E3078 #783036 #5A7830 #307872
split-complementary
#4E3078 #787230 #367830
monochromatic
#150D21 #321F4C #4E3078 #6A41A4 #8962C0

Accessibility & contrast

On white

10.41
#4E3078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E3078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3078
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3078#FFFFFF#000000##FFFFFF
##4E30781.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#1A3F76
Tritanopia (blue-blind)
#453F4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3078;
/* rgb */ color: rgb(78, 48, 120);
/* oklch */ color: oklch(38.3% 0.119 300.0);
Tailwind
colors: {
  custom: {
    50: '#83699f',
    500: '#4e3078',
    950: '#000000',
  },
}
SCSS
$custom: #4e3078;
$custom-light: #83699f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3078",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 265,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.11895,
    "h": 300
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#4E3078
secondary
#88A75C
accent
#D3559E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3078

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

Preview Lab → · Contrast checker → · Palette generator →

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