#4E3079#4E3079

#4E3079 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.120 H 299.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4E3079
RGBrgb(78, 48, 121)
HSLhsl(265, 43%, 33%)
HSVhsv(265, 60%, 47%)
CMYKcmyk(35.5%, 60.3%, 0%, 52.5%)
CIE-LABlab(27.06, 30.28, -36.87)
CIE-LCHlch(27.06, 47.71, 309.39°)
OKLaboklab(38.4% 0.0596 -0.1045)
OKLCHoklch(38.4% 0.12 299.7)
XYZxyz(7.6492, 5.1140, 18.6696)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3079 #5B7930
analogous
#303679 #4E3079 #723079
triadic
#4E3079 #794E30 #30794E
tetradic
#4E3079 #793036 #5B7930 #307972
square
#4E3079 #793036 #5B7930 #307972
split-complementary
#4E3079 #797230 #367930
monochromatic
#160D21 #321F4D #4E3079 #6A41A5 #8962C1

Accessibility & contrast

On white

10.38
#4E3079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4E3079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3079
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3079#FFFFFF#000000##FFFFFF
##4E30791.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#193F77
Tritanopia (blue-blind)
#453F4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e3079;
/* rgb */ color: rgb(78, 48, 121);
/* oklch */ color: oklch(38.4% 0.120 299.7);
Tailwind
colors: {
  custom: {
    50: '#836aa0',
    500: '#4e3079',
    950: '#000000',
  },
}
SCSS
$custom: #4e3079;
$custom-light: #836aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3079",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 264.658,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.12028,
    "h": 299.7
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#4E3079
secondary
#89A85D
accent
#D3559F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060F
muted
#7C7A7E

Preview Lab

Preview with #4E3079

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

Preview Lab → · Contrast checker → · Palette generator →

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