#4E345E#4E345E

#4E345E is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.4% C 0.076 H 311.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4E345E
RGBrgb(78, 52, 94)
HSLhsl(277, 29%, 29%)
HSVhsv(277, 45%, 37%)
CMYKcmyk(17%, 44.7%, 0%, 63.1%)
CIE-LABlab(26.40, 20.54, -20.59)
CIE-LCHlch(26.40, 29.08, 314.94°)
OKLaboklab(37.39% 0.0507 -0.057)
OKLCHoklch(37.39% 0.076 311.6)
XYZxyz(6.3899, 4.8839, 11.1936)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E345E #445E34
analogous
#39345E #4E345E #5E3459
triadic
#4E345E #5E4E34 #345E4E
tetradic
#4E345E #5E3934 #445E34 #34595E
square
#4E345E #5E3934 #445E34 #34595E
split-complementary
#4E345E #595E34 #345E39
monochromatic
#100B14 #2D1E37 #4E345E #6F4A85 #8E63A9

Accessibility & contrast

On white

10.62
#4E345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4E345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E345E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E345E#FFFFFF#000000##FFFFFF
##4E345E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#4C3A44
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e345e;
/* rgb */ color: rgb(78, 52, 94);
/* oklch */ color: oklch(37.4% 0.076 311.6);
Tailwind
colors: {
  custom: {
    50: '#806c8c',
    500: '#4e345e',
    950: '#000000',
  },
}
SCSS
$custom: #4e345e;
$custom-light: #806c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e345e",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 277.143,
    "s": 28.767,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.07628,
    "h": 311.6
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#4E345E
secondary
#718F5F
accent
#C56388
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E345E

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

Preview Lab → · Contrast checker → · Palette generator →

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