#4E2D70#4E2D70

#4E2D70 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.3% C 0.113 H 304.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2D70
RGBrgb(78, 45, 112)
HSLhsl(270, 43%, 31%)
HSVhsv(270, 60%, 44%)
CMYKcmyk(30.4%, 59.8%, 0%, 56.1%)
CIE-LABlab(25.76, 29.62, -33.22)
CIE-LCHlch(25.76, 44.51, 311.72°)
OKLaboklab(37.26% 0.0636 -0.0938)
OKLCHoklch(37.26% 0.113 304.2)
XYZxyz(7.0043, 4.6664, 15.8578)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D70 #4F702D
analogous
#2D2D70 #4E2D70 #6F2D70
triadic
#4E2D70 #704E2D #2D704E
tetradic
#4E2D70 #702D2D #4F702D #2D706F
square
#4E2D70 #702D2D #4F702D #2D706F
split-complementary
#4E2D70 #706F2D #2D702D
monochromatic
#110A19 #301B44 #4E2D70 #6C3F9C #8B5ABD

Accessibility & contrast

On white

10.86
#4E2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D70
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D70#FFFFFF#000000##FFFFFF
##4E2D701.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#1F3D6E
Tritanopia (blue-blind)
#483A4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2d70;
/* rgb */ color: rgb(78, 45, 112);
/* oklch */ color: oklch(37.3% 0.113 304.2);
Tailwind
colors: {
  custom: {
    50: '#826799',
    500: '#4e2d70',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d70;
$custom-light: #826799;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d70",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 269.552,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.11333,
    "h": 304.2
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#4E2D70
secondary
#7DA257
accent
#D25595
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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