#4E2F99#4E2F99

#4E2F99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.163 H 290.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4E2F99
RGBrgb(78, 47, 153)
HSLhsl(258, 53%, 39%)
HSVhsv(258, 69%, 60%)
CMYKcmyk(49%, 69.3%, 0%, 40%)
CIE-LABlab(29.29, 40.08, -53.14)
CIE-LCHlch(29.29, 66.56, 307.03°)
OKLaboklab(40.79% 0.0579 -0.1523)
OKLCHoklch(40.79% 0.163 290.8)
XYZxyz(9.9065, 5.9523, 30.7577)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F99 #7A992F
analogous
#2F4599 #4E2F99 #832F99
triadic
#4E2F99 #994E2F #2F994E
tetradic
#4E2F99 #992F45 #7A992F #2F9983
square
#4E2F99 #992F45 #7A992F #2F9983
split-complementary
#4E2F99 #99832F #45992F
monochromatic
#1E123B #36216A #4E2F99 #6741C5 #8D6FD3

Accessibility & contrast

On white

9.59
#4E2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F99
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F99#FFFFFF#000000##FFFFFF
##4E2F991.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#364960
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e2f99;
/* rgb */ color: rgb(78, 47, 153);
/* oklch */ color: oklch(40.8% 0.163 290.8);
Tailwind
colors: {
  custom: {
    50: '#876ab8',
    500: '#4e2f99',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f99;
$custom-light: #876ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f99",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 257.547,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.16293,
    "h": 290.8
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#4E2F99
secondary
#A3BA69
accent
#DC4BB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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