#4E3062#4E3062

#4E3062 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.089 H 310.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4E3062
RGBrgb(78, 48, 98)
HSLhsl(276, 34%, 29%)
HSVhsv(276, 51%, 38%)
CMYKcmyk(20.4%, 51%, 0%, 61.6%)
CIE-LABlab(25.61, 24.09, -24.43)
CIE-LCHlch(25.61, 34.31, 314.60°)
OKLaboklab(36.86% 0.0579 -0.0681)
OKLCHoklch(36.86% 0.089 310.4)
XYZxyz(6.4030, 4.6156, 12.1065)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3062 #446230
analogous
#353062 #4E3062 #62305D
triadic
#4E3062 #624E30 #30624E
tetradic
#4E3062 #623530 #446230 #305D62
square
#4E3062 #623530 #446230 #305D62
split-complementary
#4E3062 #5D6230 #306235
monochromatic
#100A15 #2D1C39 #4E3062 #6F448B #8E5DB0

Accessibility & contrast

On white

10.92
#4E3062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3062
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3062#FFFFFF#000000##FFFFFF
##4E30621.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#2C3D61
Tritanopia (blue-blind)
#4C3844
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e3062;
/* rgb */ color: rgb(78, 48, 98);
/* oklch */ color: oklch(36.9% 0.089 310.4);
Tailwind
colors: {
  custom: {
    50: '#81698f',
    500: '#4e3062',
    950: '#000000',
  },
}
SCSS
$custom: #4e3062;
$custom-light: #81698f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3062",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 98
  },
  "hsl": {
    "h": 276,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36864,
    "c": 0.08942,
    "h": 310.4
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#4E3062
secondary
#71935A
accent
#CA5D89
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3062

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

Preview Lab → · Contrast checker → · Palette generator →

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