#4E3675#4E3675

#4E3675 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.2% C 0.105 H 299.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4E3675
RGBrgb(78, 54, 117)
HSLhsl(263, 37%, 34%)
HSVhsv(263, 54%, 46%)
CMYKcmyk(33.3%, 53.8%, 0%, 54.1%)
CIE-LABlab(28.23, 25.44, -32.47)
CIE-LCHlch(28.23, 41.25, 308.08°)
OKLaboklab(39.18% 0.051 -0.0916)
OKLCHoklch(39.18% 0.105 299.1)
XYZxyz(7.6712, 5.5423, 17.4918)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3675 #5D7536
analogous
#363D75 #4E3675 #6D3675
triadic
#4E3675 #754E36 #36754E
tetradic
#4E3675 #75363D #5D7536 #36756D
square
#4E3675 #75363D #5D7536 #36756D
split-complementary
#4E3675 #756D36 #3D7536
monochromatic
#160F21 #32234B #4E3675 #6A499F #896BBB

Accessibility & contrast

On white

9.96
#4E3675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E3675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3675
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3675#FFFFFF#000000##FFFFFF
##4E36751.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4377
Deuteranopia (green-blind)
#264273
Tritanopia (blue-blind)
#464250
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3675;
/* rgb */ color: rgb(78, 54, 117);
/* oklch */ color: oklch(39.2% 0.105 299.1);
Tailwind
colors: {
  custom: {
    50: '#826e9d',
    500: '#4e3675',
    950: '#000000',
  },
}
SCSS
$custom: #4e3675;
$custom-light: #826e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3675",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 117
  },
  "hsl": {
    "h": 262.857,
    "s": 36.842,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3918,
    "c": 0.10481,
    "h": 299.1
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#4E3675
secondary
#8BA364
accent
#CD5BA1
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3675

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

Preview Lab → · Contrast checker → · Palette generator →

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