#4E3368#4E3368

#4E3368 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.8% C 0.092 H 306.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4E3368
RGBrgb(78, 51, 104)
HSLhsl(271, 34%, 30%)
HSVhsv(271, 51%, 41%)
CMYKcmyk(25%, 51%, 0%, 59.2%)
CIE-LABlab(26.70, 23.77, -26.60)
CIE-LCHlch(26.70, 35.67, 311.79°)
OKLaboklab(37.79% 0.0541 -0.0744)
OKLCHoklch(37.79% 0.092 306)
XYZxyz(6.8239, 4.9869, 13.6971)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3368 #4D6833
analogous
#333368 #4E3368 #683367
triadic
#4E3368 #684E33 #33684E
tetradic
#4E3368 #683333 #4D6833 #336768
square
#4E3368 #683333 #4D6833 #336768
split-complementary
#4E3368 #676833 #336833
monochromatic
#100B16 #2F1F3F #4E3368 #6D4791 #8B63B2

Accessibility & contrast

On white

10.51
#4E3368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E3368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3368
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3368#FFFFFF#000000##FFFFFF
##4E33681.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E6A
Deuteranopia (green-blind)
#2C3F67
Tritanopia (blue-blind)
#4A3C48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3368;
/* rgb */ color: rgb(78, 51, 104);
/* oklch */ color: oklch(37.8% 0.092 306.0);
Tailwind
colors: {
  custom: {
    50: '#816b93',
    500: '#4e3368',
    950: '#000000',
  },
}
SCSS
$custom: #4e3368;
$custom-light: #816b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3368",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 270.566,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37787,
    "c": 0.09198,
    "h": 306
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#4E3368
secondary
#7B995E
accent
#CA5E93
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3368

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

Preview Lab → · Contrast checker → · Palette generator →

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