#4E3077#4E3077

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

Color values

HEX#4E3077
RGBrgb(78, 48, 119)
HSLhsl(265, 43%, 33%)
HSVhsv(265, 60%, 47%)
CMYKcmyk(34.5%, 59.7%, 0%, 53.3%)
CIE-LABlab(26.92, 29.72, -35.83)
CIE-LCHlch(26.92, 46.55, 309.68°)
OKLaboklab(38.26% 0.0596 -0.1014)
OKLCHoklch(38.26% 0.118 300.4)
XYZxyz(7.5278, 5.0655, 18.0303)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3077 #597730
analogous
#303577 #4E3077 #713077
triadic
#4E3077 #774E30 #30774E
tetradic
#4E3077 #773035 #597730 #307771
square
#4E3077 #773035 #597730 #307771
split-complementary
#4E3077 #777130 #357730
monochromatic
#150D20 #311E4B #4E3077 #6B42A3 #8962C0

Accessibility & contrast

On white

10.43
#4E3077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E3077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3077
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3077#FFFFFF#000000##FFFFFF
##4E30771.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F79
Deuteranopia (green-blind)
#1C3F75
Tritanopia (blue-blind)
#463E4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3077;
/* rgb */ color: rgb(78, 48, 119);
/* oklch */ color: oklch(38.3% 0.118 300.4);
Tailwind
colors: {
  custom: {
    50: '#82699f',
    500: '#4e3077',
    950: '#000000',
  },
}
SCSS
$custom: #4e3077;
$custom-light: #82699f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3077",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 265.352,
    "s": 42.515,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.11761,
    "h": 300.4
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#4E3077
secondary
#87A75C
accent
#D2559E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3077

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

Preview Lab → · Contrast checker → · Palette generator →

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