#4E3361#4E3361

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

Color values

HEX#4E3361
RGBrgb(78, 51, 97)
HSLhsl(275, 31%, 29%)
HSVhsv(275, 47%, 38%)
CMYKcmyk(19.6%, 47.4%, 0%, 62%)
CIE-LABlab(26.30, 21.94, -22.69)
CIE-LCHlch(26.30, 31.56, 314.04°)
OKLaboklab(37.36% 0.0529 -0.0631)
OKLCHoklch(37.36% 0.082 310)
XYZxyz(6.4830, 4.8505, 11.9017)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3361 #466133
analogous
#373361 #4E3361 #61335D
triadic
#4E3361 #614E33 #33614E
tetradic
#4E3361 #613733 #466133 #335D61
square
#4E3361 #613733 #466133 #335D61
split-complementary
#4E3361 #5D6133 #336137
monochromatic
#100B14 #2E1E39 #4E3361 #6E4889 #8E62AC

Accessibility & contrast

On white

10.66
#4E3361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E3361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3361
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3361#FFFFFF#000000##FFFFFF
##4E33611.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293D63
Deuteranopia (green-blind)
#303F60
Tritanopia (blue-blind)
#4C3A45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3361;
/* rgb */ color: rgb(78, 51, 97);
/* oklch */ color: oklch(37.4% 0.082 310.0);
Tailwind
colors: {
  custom: {
    50: '#816b8e',
    500: '#4e3361',
    950: '#000000',
  },
}
SCSS
$custom: #4e3361;
$custom-light: #816b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3361",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 97
  },
  "hsl": {
    "h": 275.217,
    "s": 31.081,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37365,
    "c": 0.08235,
    "h": 310
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#4E3361
secondary
#73925E
accent
#C7618B
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3361

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

Preview Lab → · Contrast checker → · Palette generator →

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