#4E2575#4E2575

#4E2575 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.132 H 304.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4E2575
RGBrgb(78, 37, 117)
HSLhsl(271, 52%, 30%)
HSVhsv(271, 68%, 46%)
CMYKcmyk(33.3%, 68.4%, 0%, 54.1%)
CIE-LABlab(24.41, 35.54, -38.60)
CIE-LCHlch(24.41, 52.47, 312.64°)
OKLaboklab(36.39% 0.0741 -0.1095)
OKLCHoklch(36.39% 0.132 304.1)
XYZxyz(7.0136, 4.2272, 17.2726)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2575 #4C7525
analogous
#262575 #4E2575 #752574
triadic
#4E2575 #754E25 #25754E
tetradic
#4E2575 #752625 #4C7525 #257475
square
#4E2575 #752625 #4C7525 #257475
split-complementary
#4E2575 #747525 #257526
monochromatic
#100818 #2F1647 #4E2575 #6D34A3 #8C4EC7

Accessibility & contrast

On white

11.38
#4E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2575
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2575#FFFFFF#000000##FFFFFF
##4E25751.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#0B3A73
Tritanopia (blue-blind)
#473649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2575;
/* rgb */ color: rgb(78, 37, 117);
/* oklch */ color: oklch(36.4% 0.132 304.1);
Tailwind
colors: {
  custom: {
    50: '#83629d',
    500: '#4e2575',
    950: '#000000',
  },
}
SCSS
$custom: #4e2575;
$custom-light: #83629d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2575",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 270.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.13222,
    "h": 304.1
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#4E2575
secondary
#7AA84E
accent
#DB4C92
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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