#4E2683#4E2683

#4E2683 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.148 H 298.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4E2683
RGBrgb(78, 38, 131)
HSLhsl(266, 55%, 33%)
HSVhsv(266, 71%, 51%)
CMYKcmyk(40.5%, 71%, 0%, 48.6%)
CIE-LABlab(25.70, 38.76, -45.37)
CIE-LCHlch(25.70, 59.67, 310.51°)
OKLaboklab(37.65% 0.071 -0.1294)
OKLCHoklch(37.65% 0.148 298.8)
XYZxyz(7.9307, 4.6445, 21.9470)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2683 #5B8326
analogous
#262D83 #4E2683 #7C2683
triadic
#4E2683 #834E26 #26834E
tetradic
#4E2683 #83262D #5B8326 #26837C
square
#4E2683 #83262D #5B8326 #26837C
split-complementary
#4E2683 #837C26 #2D8326
monochromatic
#160A24 #321854 #4E2683 #6A34B2 #8956CE

Accessibility & contrast

On white

10.89
#4E2683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2683
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2683#FFFFFF#000000##FFFFFF
##4E26831.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#413C51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2683;
/* rgb */ color: rgb(78, 38, 131);
/* oklch */ color: oklch(37.7% 0.148 298.8);
Tailwind
colors: {
  custom: {
    50: '#8464a8',
    500: '#4e2683',
    950: '#000000',
  },
}
SCSS
$custom: #4e2683;
$custom-light: #8464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2683",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 265.806,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.14766,
    "h": 298.8
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#4E2683
secondary
#89B252
accent
#DE499E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4E2683

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

Preview Lab → · Contrast checker → · Palette generator →

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