#4E3073#4E3073

#4E3073 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.112 H 302.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4E3073
RGBrgb(78, 48, 115)
HSLhsl(267, 41%, 32%)
HSVhsv(267, 58%, 45%)
CMYKcmyk(32.2%, 58.3%, 0%, 54.9%)
CIE-LABlab(26.65, 28.61, -33.71)
CIE-LCHlch(26.65, 44.22, 310.32°)
OKLaboklab(37.97% 0.0595 -0.0952)
OKLCHoklch(37.97% 0.112 302)
XYZxyz(7.2926, 4.9714, 16.7917)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3073 #557330
analogous
#303473 #4E3073 #703073
triadic
#4E3073 #734E30 #30734E
tetradic
#4E3073 #733034 #557330 #307370
square
#4E3073 #733034 #557330 #307370
split-complementary
#4E3073 #737030 #347330
monochromatic
#130C1D #311E48 #4E3073 #6B429E #8A61BD

Accessibility & contrast

On white

10.53
#4E3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3073
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3073#FFFFFF#000000##FFFFFF
##4E30731.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#473D4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3073;
/* rgb */ color: rgb(78, 48, 115);
/* oklch */ color: oklch(38.0% 0.112 302.0);
Tailwind
colors: {
  custom: {
    50: '#82699c',
    500: '#4e3073',
    950: '#000000',
  },
}
SCSS
$custom: #4e3073;
$custom-light: #82699c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3073",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 266.866,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37974,
    "c": 0.11227,
    "h": 302
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#4E3073
secondary
#83A45B
accent
#D1579A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3073

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

Preview Lab → · Contrast checker → · Palette generator →

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