#4E345F#4E345F

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

Color values

HEX#4E345F
RGBrgb(78, 52, 95)
HSLhsl(276, 29%, 29%)
HSVhsv(276, 45%, 37%)
CMYKcmyk(17.9%, 45.3%, 0%, 62.7%)
CIE-LABlab(26.45, 20.80, -21.15)
CIE-LCHlch(26.45, 29.66, 314.51°)
OKLaboklab(37.44% 0.0509 -0.0587)
OKLCHoklch(37.44% 0.078 310.9)
XYZxyz(6.4351, 4.9020, 11.4314)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E345F #455F34
analogous
#39345F #4E345F #5F345B
triadic
#4E345F #5F4E34 #345F4E
tetradic
#4E345F #5F3934 #455F34 #345B5F
square
#4E345F #5F3934 #455F34 #345B5F
split-complementary
#4E345F #5B5F34 #345F39
monochromatic
#100B14 #2E1E37 #4E345F #6E4A87 #8E64AA

Accessibility & contrast

On white

10.60
#4E345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E345F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E345F#FFFFFF#000000##FFFFFF
##4E345F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#323F5E
Tritanopia (blue-blind)
#4C3A45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e345f;
/* rgb */ color: rgb(78, 52, 95);
/* oklch */ color: oklch(37.4% 0.078 310.9);
Tailwind
colors: {
  custom: {
    50: '#806c8c',
    500: '#4e345f',
    950: '#000000',
  },
}
SCSS
$custom: #4e345f;
$custom-light: #806c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e345f",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 276.279,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37442,
    "c": 0.07765,
    "h": 310.9
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#4E345F
secondary
#72905F
accent
#C6628A
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E345F

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

Preview Lab → · Contrast checker → · Palette generator →

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