#4E337E#4E337E

#4E337E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.3% C 0.122 H 297.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4E337E
RGBrgb(78, 51, 126)
HSLhsl(262, 42%, 35%)
HSVhsv(262, 60%, 49%)
CMYKcmyk(38.1%, 59.5%, 0%, 50.6%)
CIE-LABlab(28.10, 29.87, -38.35)
CIE-LCHlch(28.10, 48.62, 307.91°)
OKLaboklab(39.27% 0.0555 -0.1088)
OKLCHoklch(39.27% 0.122 297)
XYZxyz(8.0907, 5.4936, 20.3687)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E337E #637E33
analogous
#333E7E #4E337E #74337E
triadic
#4E337E #7E4E33 #337E4E
tetradic
#4E337E #7E333E #637E33 #337E74
square
#4E337E #7E333E #637E33 #337E74
split-complementary
#4E337E #7E7433 #3E7E33
monochromatic
#181027 #332152 #4E337E #6945AA #8969C2

Accessibility & contrast

On white

10.01
#4E337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E337E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E337E#FFFFFF#000000##FFFFFF
##4E337E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4380
Deuteranopia (green-blind)
#18417C
Tritanopia (blue-blind)
#434353
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e337e;
/* rgb */ color: rgb(78, 51, 126);
/* oklch */ color: oklch(39.3% 0.122 297.0);
Tailwind
colors: {
  custom: {
    50: '#836ca4',
    500: '#4e337e',
    950: '#000000',
  },
}
SCSS
$custom: #4e337e;
$custom-light: #836ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e337e",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 261.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.12219,
    "h": 297
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#4E337E
secondary
#90AA63
accent
#D256A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E337E

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

Preview Lab → · Contrast checker → · Palette generator →

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