#4E2075#4E2075

#4E2075 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.139 H 305.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4E2075
RGBrgb(78, 32, 117)
HSLhsl(272, 57%, 29%)
HSVhsv(272, 73%, 46%)
CMYKcmyk(33.3%, 72.6%, 0%, 54.1%)
CIE-LABlab(23.46, 38.17, -40.13)
CIE-LCHlch(23.46, 55.38, 313.57°)
OKLaboklab(35.71% 0.08 -0.114)
OKLCHoklch(35.71% 0.139 305.1)
XYZxyz(6.8686, 3.9371, 17.2243)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2075 #477520
analogous
#242075 #4E2075 #752072
triadic
#4E2075 #754E20 #20754E
tetradic
#4E2075 #752420 #477520 #207275
square
#4E2075 #752420 #477520 #207275
split-complementary
#4E2075 #727520 #207524
monochromatic
#100718 #2E1345 #4E2075 #6E2DA5 #8D44CC

Accessibility & contrast

On white

11.75
#4E2075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2075
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2075#FFFFFF#000000##FFFFFF
##4E20751.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#473448
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2075;
/* rgb */ color: rgb(78, 32, 117);
/* oklch */ color: oklch(35.7% 0.139 305.1);
Tailwind
colors: {
  custom: {
    50: '#83609d',
    500: '#4e2075',
    950: '#000000',
  },
}
SCSS
$custom: #4e2075;
$custom-light: #83609d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2075",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 272.471,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.13929,
    "h": 305.1
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#4E2075
secondary
#74A848
accent
#E0478E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E2075

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

Preview Lab → · Contrast checker → · Palette generator →

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