#4E2395#4E2395

#4E2395 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.172 H 294.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#4E2395
RGBrgb(78, 35, 149)
HSLhsl(263, 62%, 36%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(47.7%, 76.5%, 0%, 41.6%)
CIE-LABlab(26.71, 45.20, -54.91)
CIE-LCHlch(26.71, 71.11, 309.46°)
OKLaboklab(38.85% 0.0701 -0.1574)
OKLCHoklch(38.85% 0.172 294)
XYZxyz(9.1662, 4.9914, 28.9084)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2395 #6A9523
analogous
#233195 #4E2395 #872395
triadic
#4E2395 #954E23 #23954E
tetradic
#4E2395 #952331 #6A9523 #239587
square
#4E2395 #952331 #6A9523 #239587
split-complementary
#4E2395 #958723 #319523
monochromatic
#1A0C32 #341763 #4E2395 #682FC7 #8A5AD8

Accessibility & contrast

On white

10.51
#4E2395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2395
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2395#FFFFFF#000000##FFFFFF
##4E23951.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#39425A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2395;
/* rgb */ color: rgb(78, 35, 149);
/* oklch */ color: oklch(38.9% 0.172 294.0);
Tailwind
colors: {
  custom: {
    50: '#8763b5',
    500: '#4e2395',
    950: '#000000',
  },
}
SCSS
$custom: #4e2395;
$custom-light: #8763b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2395",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 262.632,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.17231,
    "h": 294
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#4E2395
secondary
#96BD57
accent
#E543A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4E2395

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

Preview Lab → · Contrast checker → · Palette generator →

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