#4E2B66#4E2B66

#4E2B66 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.2% C 0.104 H 309.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2B66
RGBrgb(78, 43, 102)
HSLhsl(276, 41%, 28%)
HSVhsv(276, 58%, 40%)
CMYKcmyk(23.5%, 57.8%, 0%, 60%)
CIE-LABlab(24.66, 28.19, -28.53)
CIE-LCHlch(24.66, 40.11, 314.65°)
OKLaboklab(36.24% 0.0661 -0.08)
OKLCHoklch(36.24% 0.104 309.6)
XYZxyz(6.4036, 4.3069, 13.0618)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B66 #43662B
analogous
#302B66 #4E2B66 #662B60
triadic
#4E2B66 #664E2B #2B664E
tetradic
#4E2B66 #66302B #43662B #2B6066
square
#4E2B66 #66302B #43662B #2B6066
split-complementary
#4E2B66 #60662B #2B6630
monochromatic
#100916 #2D193B #4E2B66 #6F3D91 #8F54B7

Accessibility & contrast

On white

11.28
#4E2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B66
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B66#FFFFFF#000000##FFFFFF
##4E2B661.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#253B65
Tritanopia (blue-blind)
#4B3544
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2b66;
/* rgb */ color: rgb(78, 43, 102);
/* oklch */ color: oklch(36.2% 0.104 309.6);
Tailwind
colors: {
  custom: {
    50: '#816692',
    500: '#4e2b66',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b66;
$custom-light: #816692;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b66",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 275.593,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36239,
    "c": 0.10382,
    "h": 309.6
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#4E2B66
secondary
#709855
accent
#D15789
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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