#4E3072#4E3072

#4E3072 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.9% C 0.111 H 302.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4E3072
RGBrgb(78, 48, 114)
HSLhsl(267, 41%, 32%)
HSVhsv(267, 58%, 45%)
CMYKcmyk(31.6%, 57.9%, 0%, 55.3%)
CIE-LABlab(26.59, 28.34, -33.18)
CIE-LCHlch(26.59, 43.64, 310.50°)
OKLaboklab(37.91% 0.0594 -0.0937)
OKLCHoklch(37.91% 0.111 302.4)
XYZxyz(7.2354, 4.9485, 16.4903)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3072 #547230
analogous
#303372 #4E3072 #6F3072
triadic
#4E3072 #724E30 #30724E
tetradic
#4E3072 #723033 #547230 #30726F
square
#4E3072 #723033 #547230 #30726F
split-complementary
#4E3072 #726F30 #337230
monochromatic
#130C1C #311E47 #4E3072 #6B429D #8A60BC

Accessibility & contrast

On white

10.55
#4E3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3072
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3072#FFFFFF#000000##FFFFFF
##4E30721.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#213F70
Tritanopia (blue-blind)
#473D4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3072;
/* rgb */ color: rgb(78, 48, 114);
/* oklch */ color: oklch(37.9% 0.111 302.4);
Tailwind
colors: {
  custom: {
    50: '#82699b',
    500: '#4e3072',
    950: '#000000',
  },
}
SCSS
$custom: #4e3072;
$custom-light: #82699b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3072",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 267.273,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37905,
    "c": 0.11092,
    "h": 302.4
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#4E3072
secondary
#82A35B
accent
#D15799
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3072

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

Preview Lab → · Contrast checker → · Palette generator →

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