#4D346B#4D346B

#4D346B is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.0% C 0.094 H 303.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4D346B
RGBrgb(77, 52, 107)
HSLhsl(267, 35%, 31%)
HSVhsv(267, 51%, 42%)
CMYKcmyk(28%, 51.4%, 0%, 58%)
CIE-LABlab(27.00, 23.64, -28.05)
CIE-LCHlch(27.00, 36.68, 310.12°)
OKLaboklab(38.05% 0.0515 -0.0787)
OKLCHoklch(38.05% 0.094 303.2)
XYZxyz(6.9418, 5.0953, 14.5248)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D346B #526B34
analogous
#34366B #4D346B #68346B
triadic
#4D346B #6B4D34 #346B4D
tetradic
#4D346B #6B3436 #526B34 #346B68
square
#4D346B #6B3436 #526B34 #346B68
split-complementary
#4D346B #6B6834 #366B34
monochromatic
#120C19 #2F2042 #4D346B #6B4894 #8965B4

Accessibility & contrast

On white

10.40
#4D346B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4D346B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D346B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D346B#FFFFFF#000000##FFFFFF
##4D346B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#2A406A
Tritanopia (blue-blind)
#483E4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d346b;
/* rgb */ color: rgb(77, 52, 107);
/* oklch */ color: oklch(38.0% 0.094 303.2);
Tailwind
colors: {
  custom: {
    50: '#806c95',
    500: '#4d346b',
    950: '#000000',
  },
}
SCSS
$custom: #4d346b;
$custom-light: #806c95;
$custom-dark: #000000;
JSON
{
  "hex": "#4d346b",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 107
  },
  "hsl": {
    "h": 267.273,
    "s": 34.591,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.09404,
    "h": 303.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#4D346B
secondary
#809C5F
accent
#CB5D99
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4D346B

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

Preview Lab → · Contrast checker → · Palette generator →

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