#4E3875#4E3875

#4E3875 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.101 H 298.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4E3875
RGBrgb(78, 56, 117)
HSLhsl(262, 35%, 34%)
HSVhsv(262, 52%, 46%)
CMYKcmyk(33.3%, 52.1%, 0%, 54.1%)
CIE-LABlab(28.73, 24.18, -31.67)
CIE-LCHlch(28.73, 39.85, 307.36°)
OKLaboklab(39.55% 0.048 -0.0893)
OKLCHoklch(39.55% 0.101 298.3)
XYZxyz(7.7662, 5.7323, 17.5235)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3875 #5F7538
analogous
#384175 #4E3875 #6D3875
triadic
#4E3875 #754E38 #38754E
tetradic
#4E3875 #753841 #5F7538 #38756D
square
#4E3875 #753841 #5F7538 #38756D
split-complementary
#4E3875 #756D38 #417538
monochromatic
#171022 #32244C #4E3875 #6A4C9E #896EBA

Accessibility & contrast

On white

9.78
#4E3875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E3875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3875
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3875#FFFFFF#000000##FFFFFF
##4E38751.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234477
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#464451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e3875;
/* rgb */ color: rgb(78, 56, 117);
/* oklch */ color: oklch(39.6% 0.101 298.3);
Tailwind
colors: {
  custom: {
    50: '#826f9d',
    500: '#4e3875',
    950: '#000000',
  },
}
SCSS
$custom: #4e3875;
$custom-light: #826f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3875",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 261.639,
    "s": 35.26,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.10136,
    "h": 298.3
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#4E3875
secondary
#8DA366
accent
#CB5CA3
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4E3875

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

Preview Lab → · Contrast checker → · Palette generator →

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