#4E277F#4E277F

#4E277F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.141 H 299.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#4E277F
RGBrgb(78, 39, 127)
HSLhsl(267, 53%, 33%)
HSVhsv(267, 69%, 50%)
CMYKcmyk(38.6%, 69.3%, 0%, 50.2%)
CIE-LABlab(25.57, 37.13, -43.06)
CIE-LCHlch(25.57, 56.86, 310.77°)
OKLaboklab(37.46% 0.0705 -0.1226)
OKLCHoklch(37.46% 0.141 299.9)
XYZxyz(7.6972, 4.6030, 20.5575)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E277F #587F27
analogous
#272C7F #4E277F #7A277F
triadic
#4E277F #7F4E27 #277F4E
tetradic
#4E277F #7F272C #587F27 #277F7A
square
#4E277F #7F272C #587F27 #277F7A
split-complementary
#4E277F #7F7A27 #2C7F27
monochromatic
#140A21 #311950 #4E277F #6B35AE #8A55CB

Accessibility & contrast

On white

10.93
#4E277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4E277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E277F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E277F#FFFFFF#000000##FFFFFF
##4E277F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#433B4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e277f;
/* rgb */ color: rgb(78, 39, 127);
/* oklch */ color: oklch(37.5% 0.141 299.9);
Tailwind
colors: {
  custom: {
    50: '#8464a5',
    500: '#4e277f',
    950: '#000000',
  },
}
SCSS
$custom: #4e277f;
$custom-light: #8464a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e277f",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 266.591,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37464,
    "c": 0.14147,
    "h": 299.9
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#4E277F
secondary
#86B052
accent
#DC4B9C
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E277F

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

Preview Lab → · Contrast checker → · Palette generator →

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