#4E2C75#4E2C75

#4E2C75 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.121 H 302.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#4E2C75
RGBrgb(78, 44, 117)
HSLhsl(268, 45%, 32%)
HSVhsv(268, 62%, 46%)
CMYKcmyk(33.3%, 62.4%, 0%, 54.1%)
CIE-LABlab(25.88, 31.57, -36.23)
CIE-LCHlch(25.88, 48.05, 311.06°)
OKLaboklab(37.45% 0.065 -0.1026)
OKLCHoklch(37.45% 0.121 302.4)
XYZxyz(7.2527, 4.7054, 17.3523)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C75 #53752C
analogous
#2C2F75 #4E2C75 #732C75
triadic
#4E2C75 #754E2C #2C754E
tetradic
#4E2C75 #752C2F #53752C #2C7573
square
#4E2C75 #752C2F #53752C #2C7573
split-complementary
#4E2C75 #75732C #2F752C
monochromatic
#130B1C #301B49 #4E2C75 #6C3DA1 #8A5AC1

Accessibility & contrast

On white

10.82
#4E2C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C75
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C75#FFFFFF#000000##FFFFFF
##4E2C751.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D77
Deuteranopia (green-blind)
#183D73
Tritanopia (blue-blind)
#463B4C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2c75;
/* rgb */ color: rgb(78, 44, 117);
/* oklch */ color: oklch(37.5% 0.121 302.4);
Tailwind
colors: {
  custom: {
    50: '#83679d',
    500: '#4e2c75',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c75;
$custom-light: #83679d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c75",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 267.945,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.12145,
    "h": 302.4
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#4E2C75
secondary
#81A756
accent
#D55398
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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