#4E2695#4E2695

#4E2695 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.169 H 293.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4E2695
RGBrgb(78, 38, 149)
HSLhsl(262, 59%, 37%)
HSVhsv(262, 74%, 58%)
CMYKcmyk(47.7%, 74.5%, 0%, 41.6%)
CIE-LABlab(27.23, 43.72, -54.06)
CIE-LCHlch(27.23, 69.53, 308.97°)
OKLaboklab(39.22% 0.0674 -0.155)
OKLCHoklch(39.22% 0.169 293.5)
XYZxyz(9.2583, 5.1756, 28.9391)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2695 #6D9526
analogous
#263595 #4E2695 #862695
triadic
#4E2695 #954E26 #26954E
tetradic
#4E2695 #952635 #6D9526 #269586
square
#4E2695 #952635 #6D9526 #269586
split-complementary
#4E2695 #958626 #359526
monochromatic
#1B0D33 #341A64 #4E2695 #6832C6 #8A5FD6

Accessibility & contrast

On white

10.32
#4E2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4E2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2695
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2695#FFFFFF#000000##FFFFFF
##4E26951.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#39435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2695;
/* rgb */ color: rgb(78, 38, 149);
/* oklch */ color: oklch(39.2% 0.169 293.5);
Tailwind
colors: {
  custom: {
    50: '#8764b5',
    500: '#4e2695',
    950: '#000000',
  },
}
SCSS
$custom: #4e2695;
$custom-light: #8764b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2695",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 261.622,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.16897,
    "h": 293.5
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#4E2695
secondary
#99BB5B
accent
#E345AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4E2695

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

Preview Lab → · Contrast checker → · Palette generator →

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