#4E3775#4E3775

#4E3775 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.103 H 298.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#4E3775
RGBrgb(78, 55, 117)
HSLhsl(262, 36%, 34%)
HSVhsv(262, 53%, 46%)
CMYKcmyk(33.3%, 53%, 0%, 54.1%)
CIE-LABlab(28.48, 24.81, -32.07)
CIE-LCHlch(28.48, 40.55, 307.73°)
OKLaboklab(39.37% 0.0495 -0.0904)
OKLCHoklch(39.37% 0.103 298.7)
XYZxyz(7.7182, 5.6364, 17.5075)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3775 #5E7537
analogous
#373F75 #4E3775 #6D3775
triadic
#4E3775 #754E37 #37754E
tetradic
#4E3775 #75373F #5E7537 #37756D
square
#4E3775 #75373F #5E7537 #37756D
split-complementary
#4E3775 #756D37 #3F7537
monochromatic
#161022 #32234B #4E3775 #6A4B9F #896CBA

Accessibility & contrast

On white

9.87
#4E3775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E3775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3775
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3775#FFFFFF#000000##FFFFFF
##4E37751.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214377
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#464350
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3775;
/* rgb */ color: rgb(78, 55, 117);
/* oklch */ color: oklch(39.4% 0.103 298.7);
Tailwind
colors: {
  custom: {
    50: '#826e9d',
    500: '#4e3775',
    950: '#000000',
  },
}
SCSS
$custom: #4e3775;
$custom-light: #826e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3775",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 117
  },
  "hsl": {
    "h": 262.258,
    "s": 36.047,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.10309,
    "h": 298.7
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#4E3775
secondary
#8CA365
accent
#CC5CA2
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3775

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

Preview Lab → · Contrast checker → · Palette generator →

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