#4E2B74#4E2B74

#4E2B74 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.122 H 303.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#4E2B74
RGBrgb(78, 43, 116)
HSLhsl(269, 46%, 31%)
HSVhsv(269, 63%, 45%)
CMYKcmyk(32.8%, 62.9%, 0%, 54.5%)
CIE-LABlab(25.59, 31.88, -36.06)
CIE-LCHlch(25.59, 48.13, 311.48°)
OKLaboklab(37.22% 0.0664 -0.1021)
OKLCHoklch(37.22% 0.122 303)
XYZxyz(7.1574, 4.6084, 17.0321)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B74 #51742B
analogous
#2B2C74 #4E2B74 #722B74
triadic
#4E2B74 #744E2B #2B744E
tetradic
#4E2B74 #742B2C #51742B #2B7472
square
#4E2B74 #742B2C #51742B #2B7472
split-complementary
#4E2B74 #74722B #2C742B
monochromatic
#120A1B #301A47 #4E2B74 #6C3CA1 #8B58C1

Accessibility & contrast

On white

10.93
#4E2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B74
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B74#FFFFFF#000000##FFFFFF
##4E2B741.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#183C72
Tritanopia (blue-blind)
#473A4B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2b74;
/* rgb */ color: rgb(78, 43, 116);
/* oklch */ color: oklch(37.2% 0.122 303.0);
Tailwind
colors: {
  custom: {
    50: '#83669c',
    500: '#4e2b74',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b74;
$custom-light: #83669c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b74",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 268.767,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.12178,
    "h": 303
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#4E2B74
secondary
#7FA655
accent
#D65297
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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