#4E2673#4E2673

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

Color values

HEX#4E2673
RGBrgb(78, 38, 115)
HSLhsl(271, 50%, 30%)
HSVhsv(271, 67%, 45%)
CMYKcmyk(32.2%, 67%, 0%, 54.9%)
CIE-LABlab(24.46, 34.47, -37.23)
CIE-LCHlch(24.46, 50.74, 312.79°)
OKLaboklab(36.38% 0.073 -0.1055)
OKLCHoklch(36.38% 0.128 304.7)
XYZxyz(6.9288, 4.2438, 16.6704)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2673 #4B7326
analogous
#282673 #4E2673 #732671
triadic
#4E2673 #734E26 #26734E
tetradic
#4E2673 #732826 #4B7326 #267173
square
#4E2673 #732826 #4B7326 #267173
split-complementary
#4E2673 #717326 #267328
monochromatic
#100817 #2F1745 #4E2673 #6D35A1 #8C4FC5

Accessibility & contrast

On white

11.36
#4E2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2673
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2673#FFFFFF#000000##FFFFFF
##4E26731.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#113A71
Tritanopia (blue-blind)
#473649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2673;
/* rgb */ color: rgb(78, 38, 115);
/* oklch */ color: oklch(36.4% 0.128 304.7);
Tailwind
colors: {
  custom: {
    50: '#83639c',
    500: '#4e2673',
    950: '#000000',
  },
}
SCSS
$custom: #4e2673;
$custom-light: #83639c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2673",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 271.169,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.36376,
    "c": 0.12831,
    "h": 304.7
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#4E2673
secondary
#79A64F
accent
#DA4E91
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #4E2673

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

Preview Lab → · Contrast checker → · Palette generator →

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