#4E3175#4E3175

#4E3175 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.3% C 0.113 H 300.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4E3175
RGBrgb(78, 49, 117)
HSLhsl(266, 41%, 33%)
HSVhsv(266, 58%, 46%)
CMYKcmyk(33.3%, 58.1%, 0%, 54.1%)
CIE-LABlab(27.02, 28.56, -34.40)
CIE-LCHlch(27.02, 44.71, 309.70°)
OKLaboklab(38.29% 0.0581 -0.0972)
OKLCHoklch(38.29% 0.113 300.9)
XYZxyz(7.4503, 5.1006, 17.4182)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3175 #587531
analogous
#313675 #4E3175 #703175
triadic
#4E3175 #754E31 #31754E
tetradic
#4E3175 #753136 #587531 #317570
square
#4E3175 #753136 #587531 #317570
split-complementary
#4E3175 #757031 #367531
monochromatic
#140D1F #311F4A #4E3175 #6B43A0 #8A63BE

Accessibility & contrast

On white

10.40
#4E3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3175
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3175#FFFFFF#000000##FFFFFF
##4E31751.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#463E4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3175;
/* rgb */ color: rgb(78, 49, 117);
/* oklch */ color: oklch(38.3% 0.113 300.9);
Tailwind
colors: {
  custom: {
    50: '#826a9d',
    500: '#4e3175',
    950: '#000000',
  },
}
SCSS
$custom: #4e3175;
$custom-light: #826a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3175",
  "rgb": {
    "r": 78,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 265.588,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.11328,
    "h": 300.9
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#4E3175
secondary
#86A55D
accent
#D1579D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3175

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

Preview Lab → · Contrast checker → · Palette generator →

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