#4E2668#4E2668

#4E2668 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.6% C 0.115 H 309.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#4E2668
RGBrgb(78, 38, 104)
HSLhsl(276, 46%, 28%)
HSVhsv(276, 63%, 41%)
CMYKcmyk(25%, 63.5%, 0%, 59.2%)
CIE-LABlab(23.69, 31.63, -31.38)
CIE-LCHlch(23.69, 44.56, 315.23°)
OKLaboklab(35.57% 0.0735 -0.0883)
OKLCHoklch(35.57% 0.115 309.7)
XYZxyz(6.3332, 4.0055, 13.5335)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2668 #406826
analogous
#2D2668 #4E2668 #682661
triadic
#4E2668 #684E26 #26684E
tetradic
#4E2668 #682D26 #406826 #266168
square
#4E2668 #682D26 #406826 #266168
split-complementary
#4E2668 #616826 #26682D
monochromatic
#110816 #2C163B #4E2668 #703695 #904BBD

Accessibility & contrast

On white

11.66
#4E2668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2668
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2668#FFFFFF#000000##FFFFFF
##4E26681.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#4B3343
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2668;
/* rgb */ color: rgb(78, 38, 104);
/* oklch */ color: oklch(35.6% 0.115 309.7);
Tailwind
colors: {
  custom: {
    50: '#826393',
    500: '#4e2668',
    950: '#000000',
  },
}
SCSS
$custom: #4e2668;
$custom-light: #826393;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2668",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 276.364,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35569,
    "c": 0.11489,
    "h": 309.7
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#4E2668
secondary
#6D9B4F
accent
#D65286
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2668

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

Preview Lab → · Contrast checker → · Palette generator →

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