#4E3060#4E3060

#4E3060 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.087 H 311.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3060
RGBrgb(78, 48, 96)
HSLhsl(278, 33%, 28%)
HSVhsv(278, 50%, 38%)
CMYKcmyk(18.7%, 50%, 0%, 62.4%)
CIE-LABlab(25.50, 23.59, -23.31)
CIE-LCHlch(25.50, 33.16, 315.34°)
OKLaboklab(36.74% 0.0576 -0.0649)
OKLCHoklch(36.74% 0.087 311.6)
XYZxyz(6.3098, 4.5783, 11.6154)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3060 #426030
analogous
#363060 #4E3060 #60305A
triadic
#4E3060 #604E30 #30604E
tetradic
#4E3060 #603630 #426030 #305A60
square
#4E3060 #603630 #426030 #305A60
split-complementary
#4E3060 #5A6030 #306036
monochromatic
#110A14 #2D1C37 #4E3060 #6F4489 #8F5DAE

Accessibility & contrast

On white

10.96
#4E3060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E3060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3060
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3060#FFFFFF#000000##FFFFFF
##4E30601.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B62
Deuteranopia (green-blind)
#2D3D5F
Tritanopia (blue-blind)
#4C3743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e3060;
/* rgb */ color: rgb(78, 48, 96);
/* oklch */ color: oklch(36.7% 0.087 311.6);
Tailwind
colors: {
  custom: {
    50: '#81698d',
    500: '#4e3060',
    950: '#000000',
  },
}
SCSS
$custom: #4e3060;
$custom-light: #81698d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3060",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 96
  },
  "hsl": {
    "h": 277.5,
    "s": 33.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.08676,
    "h": 311.6
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#4E3060
secondary
#6F915A
accent
#C95E87
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3060

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

Preview Lab → · Contrast checker → · Palette generator →

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