#4E2670#4E2670

#4E2670 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.1% C 0.125 H 306.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4E2670
RGBrgb(78, 38, 112)
HSLhsl(272, 49%, 29%)
HSVhsv(272, 66%, 44%)
CMYKcmyk(30.4%, 66.1%, 0%, 56.1%)
CIE-LABlab(24.24, 33.68, -35.66)
CIE-LCHlch(24.24, 49.05, 313.37°)
OKLaboklab(36.15% 0.0732 -0.1009)
OKLCHoklch(36.15% 0.125 306)
XYZxyz(6.7590, 4.1758, 15.7760)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2670 #487026
analogous
#292670 #4E2670 #70266D
triadic
#4E2670 #704E26 #26704E
tetradic
#4E2670 #702926 #487026 #266D70
square
#4E2670 #702926 #487026 #266D70
split-complementary
#4E2670 #6D7026 #267029
monochromatic
#100817 #2E1642 #4E2670 #6E369E #8D4EC3

Accessibility & contrast

On white

11.44
#4E2670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2670
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2670#FFFFFF#000000##FFFFFF
##4E26701.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#153A6E
Tritanopia (blue-blind)
#483547
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2670;
/* rgb */ color: rgb(78, 38, 112);
/* oklch */ color: oklch(36.1% 0.125 306.0);
Tailwind
colors: {
  custom: {
    50: '#836399',
    500: '#4e2670',
    950: '#000000',
  },
}
SCSS
$custom: #4e2670;
$custom-light: #836399;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2670",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 272.432,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3615,
    "c": 0.12466,
    "h": 306
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#4E2670
secondary
#76A34F
accent
#D94F8E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2670

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

Preview Lab → · Contrast checker → · Palette generator →

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