#4E2E75#4E2E75

#4E2E75 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.8% C 0.118 H 301.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4E2E75
RGBrgb(78, 46, 117)
HSLhsl(267, 44%, 32%)
HSVhsv(267, 61%, 46%)
CMYKcmyk(33.3%, 60.7%, 0%, 54.1%)
CIE-LABlab(26.33, 30.38, -35.51)
CIE-LCHlch(26.33, 46.73, 310.54°)
OKLaboklab(37.78% 0.0623 -0.1005)
OKLCHoklch(37.78% 0.118 301.8)
XYZxyz(7.3290, 4.8580, 17.3777)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E75 #55752E
analogous
#2E3275 #4E2E75 #722E75
triadic
#4E2E75 #754E2E #2E754E
tetradic
#4E2E75 #752E32 #55752E #2E7572
square
#4E2E75 #752E32 #55752E #2E7572
split-complementary
#4E2E75 #75722E #32752E
monochromatic
#130B1D #311D49 #4E2E75 #6B3FA1 #8A5EC0

Accessibility & contrast

On white

10.65
#4E2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E75
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E75#FFFFFF#000000##FFFFFF
##4E2E751.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E77
Deuteranopia (green-blind)
#1B3E73
Tritanopia (blue-blind)
#463C4D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2e75;
/* rgb */ color: rgb(78, 46, 117);
/* oklch */ color: oklch(37.8% 0.118 301.8);
Tailwind
colors: {
  custom: {
    50: '#82689d',
    500: '#4e2e75',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e75;
$custom-light: #82689d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e75",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 267.042,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.11823,
    "h": 301.8
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#4E2E75
secondary
#83A659
accent
#D3549A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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