#4E2C70#4E2C70

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

Color values

HEX#4E2C70
RGBrgb(78, 44, 112)
HSLhsl(270, 44%, 31%)
HSVhsv(270, 61%, 44%)
CMYKcmyk(30.4%, 60.7%, 0%, 56.1%)
CIE-LABlab(25.54, 30.22, -33.58)
CIE-LCHlch(25.54, 45.18, 311.98°)
OKLaboklab(37.09% 0.0651 -0.0948)
OKLCHoklch(37.09% 0.115 304.4)
XYZxyz(6.9666, 4.5909, 15.8452)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C70 #4E702C
analogous
#2C2C70 #4E2C70 #702C70
triadic
#4E2C70 #704E2C #2C704E
tetradic
#4E2C70 #702C2C #4E702C #2C7070
square
#4E2C70 #702C2C #4E702C #2C7070
split-complementary
#4E2C70 #70702C #2C702C
monochromatic
#110918 #2F1B44 #4E2C70 #6D3D9C #8B59BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2C70#FFFFFF#000000##FFFFFF
##4E2C701.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)
#0F3C72
Deuteranopia (green-blind)
#1E3D6E
Tritanopia (blue-blind)
#483949
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2c70;
/* rgb */ color: rgb(78, 44, 112);
/* oklch */ color: oklch(37.1% 0.115 304.4);
Tailwind
colors: {
  custom: {
    50: '#826799',
    500: '#4e2c70',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c70;
$custom-light: #826799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c70",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 270,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.115,
    "h": 304.4
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#4E2C70
secondary
#7CA256
accent
#D35494
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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