#4E3868#4E3868

#4E3868 is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.083 H 303.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4E3868
RGBrgb(78, 56, 104)
HSLhsl(268, 30%, 31%)
HSVhsv(268, 46%, 41%)
CMYKcmyk(25%, 46.2%, 0%, 59.2%)
CIE-LABlab(27.97, 20.58, -24.58)
CIE-LCHlch(27.97, 32.06, 309.94°)
OKLaboklab(38.74% 0.0461 -0.0686)
OKLCHoklch(38.74% 0.083 303.9)
XYZxyz(7.0542, 5.4475, 13.7739)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3868 #526838
analogous
#383A68 #4E3868 #663868
triadic
#4E3868 #684E38 #38684E
tetradic
#4E3868 #68383A #526838 #386866
square
#4E3868 #68383A #526838 #386866
split-complementary
#4E3868 #686638 #3A6838
monochromatic
#120D18 #302340 #4E3868 #6C4D90 #8A6BAF

Accessibility & contrast

On white

10.05
#4E3868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3868
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3868#FFFFFF#000000##FFFFFF
##4E38681.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C416A
Deuteranopia (green-blind)
#314267
Tritanopia (blue-blind)
#4A404B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3868;
/* rgb */ color: rgb(78, 56, 104);
/* oklch */ color: oklch(38.7% 0.083 303.9);
Tailwind
colors: {
  custom: {
    50: '#816f93',
    500: '#4e3868',
    950: '#000000',
  },
}
SCSS
$custom: #4e3868;
$custom-light: #816f93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3868",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 104
  },
  "hsl": {
    "h": 267.5,
    "s": 30,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38742,
    "c": 0.08268,
    "h": 303.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#4E3868
secondary
#809863
accent
#C66298
background
#F7F6F9
surface
#EEECF1
border
#C9C7CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3868

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

Preview Lab → · Contrast checker → · Palette generator →

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