#4E2B6A#4E2B6A

#4E2B6A is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.5% C 0.109 H 307.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4E2B6A
RGBrgb(78, 43, 106)
HSLhsl(273, 42%, 29%)
HSVhsv(273, 59%, 42%)
CMYKcmyk(26.4%, 59.4%, 0%, 58.4%)
CIE-LABlab(24.92, 29.23, -30.72)
CIE-LCHlch(24.92, 42.40, 313.57°)
OKLaboklab(36.51% 0.0663 -0.0864)
OKLCHoklch(36.51% 0.109 307.5)
XYZxyz(6.6068, 4.3881, 14.1318)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B6A #476A2B
analogous
#2F2B6A #4E2B6A #6A2B67
triadic
#4E2B6A #6A4E2B #2B6A4E
tetradic
#4E2B6A #6A2F2B #476A2B #2B676A
square
#4E2B6A #6A2F2B #476A2B #2B676A
split-complementary
#4E2B6A #676A2B #2B6A2F
monochromatic
#100916 #2E193E #4E2B6A #6E3D96 #8D55BA

Accessibility & contrast

On white

11.18
#4E2B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B6A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B6A#FFFFFF#000000##FFFFFF
##4E2B6A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#223B68
Tritanopia (blue-blind)
#4A3746
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2b6a;
/* rgb */ color: rgb(78, 43, 106);
/* oklch */ color: oklch(36.5% 0.109 307.5);
Tailwind
colors: {
  custom: {
    50: '#826695',
    500: '#4e2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b6a;
$custom-light: #826695;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b6a",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 273.333,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.10895,
    "h": 307.5
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#4E2B6A
secondary
#749C55
accent
#D2568D
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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