#4E326F#4E326F

#4E326F is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.1% C 0.103 H 303.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4E326F
RGBrgb(78, 50, 111)
HSLhsl(268, 38%, 32%)
HSVhsv(268, 55%, 44%)
CMYKcmyk(29.7%, 55%, 0%, 56.5%)
CIE-LABlab(26.87, 26.28, -30.81)
CIE-LCHlch(26.87, 40.50, 310.47°)
OKLaboklab(38.05% 0.0563 -0.0867)
OKLCHoklch(38.05% 0.103 303)
XYZxyz(7.1511, 5.0486, 15.6336)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E326F #536F32
analogous
#32356F #4E326F #6D326F
triadic
#4E326F #6F4E32 #326F4E
tetradic
#4E326F #6F3235 #536F32 #326F6D
square
#4E326F #6F3235 #536F32 #326F6D
split-complementary
#4E326F #6F6D32 #356F32
monochromatic
#130C1B #301F45 #4E326F #6C4599 #8A63B9

Accessibility & contrast

On white

10.45
#4E326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E326F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E326F#FFFFFF#000000##FFFFFF
##4E326F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#263F6E
Tritanopia (blue-blind)
#483D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e326f;
/* rgb */ color: rgb(78, 50, 111);
/* oklch */ color: oklch(38.1% 0.103 303.0);
Tailwind
colors: {
  custom: {
    50: '#826b99',
    500: '#4e326f',
    950: '#000000',
  },
}
SCSS
$custom: #4e326f;
$custom-light: #826b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e326f",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 267.541,
    "s": 37.888,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.10341,
    "h": 303
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#4E326F
secondary
#81A05D
accent
#CE5A99
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #4E326F

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

Preview Lab → · Contrast checker → · Palette generator →

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