#4E3074#4E3074

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

Color values

HEX#4E3074
RGBrgb(78, 48, 116)
HSLhsl(266, 41%, 32%)
HSVhsv(266, 59%, 45%)
CMYKcmyk(32.8%, 58.6%, 0%, 54.5%)
CIE-LABlab(26.72, 28.89, -34.24)
CIE-LCHlch(26.72, 44.80, 310.15°)
OKLaboklab(38.04% 0.0595 -0.0968)
OKLCHoklch(38.04% 0.114 301.6)
XYZxyz(7.3505, 4.9945, 17.0964)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3074 #567430
analogous
#303474 #4E3074 #703074
triadic
#4E3074 #744E30 #30744E
tetradic
#4E3074 #743034 #567430 #307470
square
#4E3074 #743034 #567430 #307470
split-complementary
#4E3074 #747030 #347430
monochromatic
#140C1D #311E49 #4E3074 #6B429F #8A61BE

Accessibility & contrast

On white

10.51
#4E3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3074
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3074#FFFFFF#000000##FFFFFF
##4E30741.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#473D4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3074;
/* rgb */ color: rgb(78, 48, 116);
/* oklch */ color: oklch(38.0% 0.114 301.6);
Tailwind
colors: {
  custom: {
    50: '#82699c',
    500: '#4e3074',
    950: '#000000',
  },
}
SCSS
$custom: #4e3074;
$custom-light: #82699c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3074",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 266.471,
    "s": 41.463,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38044,
    "c": 0.11361,
    "h": 301.6
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#4E3074
secondary
#84A55B
accent
#D1579B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3074

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

Preview Lab → · Contrast checker → · Palette generator →

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