#4E2B6B#4E2B6B

#4E2B6B is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.6% C 0.110 H 307.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4E2B6B
RGBrgb(78, 43, 107)
HSLhsl(273, 43%, 29%)
HSVhsv(273, 60%, 42%)
CMYKcmyk(27.1%, 59.8%, 0%, 58%)
CIE-LABlab(24.98, 29.49, -31.26)
CIE-LCHlch(24.98, 42.97, 313.33°)
OKLaboklab(36.58% 0.0664 -0.088)
OKLCHoklch(36.58% 0.11 307)
XYZxyz(6.6591, 4.4091, 14.4073)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B6B #486B2B
analogous
#2E2B6B #4E2B6B #6B2B68
triadic
#4E2B6B #6B4E2B #2B6B4E
tetradic
#4E2B6B #6B2E2B #486B2B #2B686B
square
#4E2B6B #6B2E2B #486B2B #2B686B
split-complementary
#4E2B6B #686B2B #2B6B2E
monochromatic
#100916 #2E193F #4E2B6B #6E3D97 #8D56BB

Accessibility & contrast

On white

11.16
#4E2B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B6B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B6B#FFFFFF#000000##FFFFFF
##4E2B6B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#213C69
Tritanopia (blue-blind)
#493746
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2b6b;
/* rgb */ color: rgb(78, 43, 107);
/* oklch */ color: oklch(36.6% 0.110 307.0);
Tailwind
colors: {
  custom: {
    50: '#826696',
    500: '#4e2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b6b;
$custom-light: #826696;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b6b",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 272.813,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.11024,
    "h": 307
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#4E2B6B
secondary
#769D55
accent
#D2558E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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