#4E2B73#4E2B73

#4E2B73 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.120 H 303.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#4E2B73
RGBrgb(78, 43, 115)
HSLhsl(269, 46%, 31%)
HSVhsv(269, 63%, 45%)
CMYKcmyk(32.2%, 62.6%, 0%, 54.9%)
CIE-LABlab(25.52, 31.61, -35.53)
CIE-LCHlch(25.52, 47.56, 311.66°)
OKLaboklab(37.14% 0.0664 -0.1005)
OKLCHoklch(37.14% 0.12 303.4)
XYZxyz(7.0996, 4.5853, 16.7274)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B73 #50732B
analogous
#2B2C73 #4E2B73 #722B73
triadic
#4E2B73 #734E2B #2B734E
tetradic
#4E2B73 #732B2C #50732B #2B7372
square
#4E2B73 #732B2C #50732B #2B7372
split-complementary
#4E2B73 #73722B #2C732B
monochromatic
#120A1A #301A46 #4E2B73 #6C3CA0 #8B58C1

Accessibility & contrast

On white

10.95
#4E2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B73
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B73#FFFFFF#000000##FFFFFF
##4E2B731.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#473A4A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2b73;
/* rgb */ color: rgb(78, 43, 115);
/* oklch */ color: oklch(37.1% 0.120 303.4);
Tailwind
colors: {
  custom: {
    50: '#82669c',
    500: '#4e2b73',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b73;
$custom-light: #82669c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b73",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 269.167,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.12049,
    "h": 303.4
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#4E2B73
secondary
#7EA555
accent
#D55396
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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