#4E3064#4E3064

#4E3064 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.0% C 0.092 H 309.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#4E3064
RGBrgb(78, 48, 100)
HSLhsl(275, 35%, 29%)
HSVhsv(275, 52%, 39%)
CMYKcmyk(22%, 52%, 0%, 60.8%)
CIE-LABlab(25.72, 24.61, -25.55)
CIE-LCHlch(25.72, 35.47, 313.93°)
OKLaboklab(36.99% 0.0582 -0.0714)
OKLCHoklch(36.99% 0.092 309.2)
XYZxyz(6.4987, 4.6538, 12.6100)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3064 #466430
analogous
#343064 #4E3064 #643060
triadic
#4E3064 #644E30 #30644E
tetradic
#4E3064 #643430 #466430 #306064
square
#4E3064 #643430 #466430 #306064
split-complementary
#4E3064 #606430 #306434
monochromatic
#100A15 #2E1C3B #4E3064 #6E448D #8E5DB1

Accessibility & contrast

On white

10.88
#4E3064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E3064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3064
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3064#FFFFFF#000000##FFFFFF
##4E30641.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#2B3D63
Tritanopia (blue-blind)
#4B3945
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e3064;
/* rgb */ color: rgb(78, 48, 100);
/* oklch */ color: oklch(37.0% 0.092 309.2);
Tailwind
colors: {
  custom: {
    50: '#816990',
    500: '#4e3064',
    950: '#000000',
  },
}
SCSS
$custom: #4e3064;
$custom-light: #816990;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3064",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 274.615,
    "s": 35.135,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36987,
    "c": 0.0921,
    "h": 309.2
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#4E3064
secondary
#73955A
accent
#CB5D8B
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3064

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

Preview Lab → · Contrast checker → · Palette generator →

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