#4E2B75#4E2B75

#4E2B75 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.123 H 302.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4E2B75
RGBrgb(78, 43, 117)
HSLhsl(268, 46%, 31%)
HSVhsv(268, 63%, 46%)
CMYKcmyk(33.3%, 63.2%, 0%, 54.1%)
CIE-LABlab(25.66, 32.15, -36.58)
CIE-LCHlch(25.66, 48.70, 311.31°)
OKLaboklab(37.29% 0.0664 -0.1036)
OKLCHoklch(37.29% 0.123 302.6)
XYZxyz(7.2159, 4.6318, 17.3400)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B75 #52752B
analogous
#2B2D75 #4E2B75 #732B75
triadic
#4E2B75 #754E2B #2B754E
tetradic
#4E2B75 #752B2D #52752B #2B7573
square
#4E2B75 #752B2D #52752B #2B7573
split-complementary
#4E2B75 #75732B #2D752B
monochromatic
#120A1B #301B48 #4E2B75 #6C3BA2 #8A59C2

Accessibility & contrast

On white

10.90
#4E2B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B75
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B75#FFFFFF#000000##FFFFFF
##4E2B751.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C77
Deuteranopia (green-blind)
#163D73
Tritanopia (blue-blind)
#463A4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2b75;
/* rgb */ color: rgb(78, 43, 117);
/* oklch */ color: oklch(37.3% 0.123 302.6);
Tailwind
colors: {
  custom: {
    50: '#83669d',
    500: '#4e2b75',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b75;
$custom-light: #83669d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b75",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 268.378,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3729,
    "c": 0.12305,
    "h": 302.6
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#4E2B75
secondary
#80A755
accent
#D65297
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B75

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

Preview Lab → · Contrast checker → · Palette generator →

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