#4E2F93#4E2F93

#4E2F93 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.155 H 292.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2F93
RGBrgb(78, 47, 147)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 58%)
CMYKcmyk(46.9%, 68%, 0%, 42.4%)
CIE-LABlab(28.80, 38.33, -50.27)
CIE-LCHlch(28.80, 63.22, 307.32°)
OKLaboklab(40.28% 0.0588 -0.1439)
OKLCHoklch(40.28% 0.155 292.2)
XYZxyz(9.4234, 5.7590, 28.2132)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F93 #74932F
analogous
#2F4293 #4E2F93 #802F93
triadic
#4E2F93 #934E2F #2F934E
tetradic
#4E2F93 #932F42 #74932F #2F9380
square
#4E2F93 #932F42 #74932F #2F9380
split-complementary
#4E2F93 #93802F #42932F
monochromatic
#1D1136 #352065 #4E2F93 #673EC1 #8B6CD0

Accessibility & contrast

On white

9.76
#4E2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F93
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F93#FFFFFF#000000##FFFFFF
##4E2F931.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#39475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e2f93;
/* rgb */ color: rgb(78, 47, 147);
/* oklch */ color: oklch(40.3% 0.155 292.2);
Tailwind
colors: {
  custom: {
    50: '#866ab3',
    500: '#4e2f93',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f93;
$custom-light: #866ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f93",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 258.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.15542,
    "h": 292.2
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#4E2F93
secondary
#9EB766
accent
#DB4DAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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