#4D346D#4D346D

#4D346D is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.2% C 0.097 H 302.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4D346D
RGBrgb(77, 52, 109)
HSLhsl(266, 35%, 32%)
HSVhsv(266, 52%, 43%)
CMYKcmyk(29.4%, 52.3%, 0%, 57.3%)
CIE-LABlab(27.12, 24.18, -29.14)
CIE-LCHlch(27.12, 37.87, 309.69°)
OKLaboklab(38.17% 0.0517 -0.0819)
OKLCHoklch(38.17% 0.097 302.3)
XYZxyz(7.0483, 5.1379, 15.0854)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D346D #546D34
analogous
#34386D #4D346D #6A346D
triadic
#4D346D #6D4D34 #346D4D
tetradic
#4D346D #6D3438 #546D34 #346D6A
square
#4D346D #6D3438 #546D34 #346D6A
split-complementary
#4D346D #6D6A34 #386D34
monochromatic
#120C1A #302044 #4D346D #6A4896 #8966B6

Accessibility & contrast

On white

10.36
#4D346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D346D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D346D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D346D#FFFFFF#000000##FFFFFF
##4D346D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22406F
Deuteranopia (green-blind)
#29406C
Tritanopia (blue-blind)
#473E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d346d;
/* rgb */ color: rgb(77, 52, 109);
/* oklch */ color: oklch(38.2% 0.097 302.3);
Tailwind
colors: {
  custom: {
    50: '#816c97',
    500: '#4d346d',
    950: '#000000',
  },
}
SCSS
$custom: #4d346d;
$custom-light: #816c97;
$custom-dark: #000000;
JSON
{
  "hex": "#4d346d",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 266.316,
    "s": 35.404,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.09685,
    "h": 302.3
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#4D346D
secondary
#829E5F
accent
#CB5C9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D346D

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

Preview Lab → · Contrast checker → · Palette generator →

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