#4E247F#4E247F

#4E247F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.146 H 300.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4E247F
RGBrgb(78, 36, 127)
HSLhsl(268, 56%, 32%)
HSVhsv(268, 72%, 50%)
CMYKcmyk(38.6%, 71.7%, 0%, 50.2%)
CIE-LABlab(24.99, 38.73, -44.00)
CIE-LCHlch(24.99, 58.62, 311.36°)
OKLaboklab(37.05% 0.0739 -0.1254)
OKLCHoklch(37.05% 0.146 300.5)
XYZxyz(7.6026, 4.4137, 20.5259)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E247F #557F24
analogous
#24287F #4E247F #7C247F
triadic
#4E247F #7F4E24 #247F4E
tetradic
#4E247F #7F2428 #557F24 #247F7C
square
#4E247F #7F2428 #557F24 #247F7C
split-complementary
#4E247F #7F7C24 #287F24
monochromatic
#130920 #31164F #4E247F #6B32AF #8A50CD

Accessibility & contrast

On white

11.15
#4E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E247F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E247F#FFFFFF#000000##FFFFFF
##4E247F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#433A4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e247f;
/* rgb */ color: rgb(78, 36, 127);
/* oklch */ color: oklch(37.1% 0.146 300.5);
Tailwind
colors: {
  custom: {
    50: '#8462a5',
    500: '#4e247f',
    950: '#000000',
  },
}
SCSS
$custom: #4e247f;
$custom-light: #8462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e247f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 267.692,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37051,
    "c": 0.14556,
    "h": 300.5
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#4E247F
secondary
#83B14E
accent
#DF499A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #4E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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