#4E3276#4E3276

#4E3276 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.113 H 300.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4E3276
RGBrgb(78, 50, 118)
HSLhsl(265, 40%, 33%)
HSVhsv(265, 58%, 46%)
CMYKcmyk(33.9%, 57.6%, 0%, 53.7%)
CIE-LABlab(27.32, 28.22, -34.55)
CIE-LCHlch(27.32, 44.61, 309.24°)
OKLaboklab(38.53% 0.0567 -0.0977)
OKLCHoklch(38.53% 0.113 300.2)
XYZxyz(7.5517, 5.2089, 17.7436)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3276 #5A7632
analogous
#323876 #4E3276 #703276
triadic
#4E3276 #764E32 #32764E
tetradic
#4E3276 #763238 #5A7632 #327670
square
#4E3276 #763238 #5A7632 #327670
split-complementary
#4E3276 #767032 #387632
monochromatic
#150E20 #32204B #4E3276 #6A44A1 #8965BE

Accessibility & contrast

On white

10.29
#4E3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3276
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3276#FFFFFF#000000##FFFFFF
##4E32761.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#204074
Tritanopia (blue-blind)
#463F4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e3276;
/* rgb */ color: rgb(78, 50, 118);
/* oklch */ color: oklch(38.5% 0.113 300.2);
Tailwind
colors: {
  custom: {
    50: '#826b9e',
    500: '#4e3276',
    950: '#000000',
  },
}
SCSS
$custom: #4e3276;
$custom-light: #826b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3276",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 264.706,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3853,
    "c": 0.11296,
    "h": 300.2
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#4E3276
secondary
#88A55E
accent
#D0579F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E3276

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

Preview Lab → · Contrast checker → · Palette generator →

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