#4E2C6A#4E2C6A

#4E2C6A is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.107 H 307.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4E2C6A
RGBrgb(78, 44, 106)
HSLhsl(273, 41%, 29%)
HSVhsv(273, 58%, 42%)
CMYKcmyk(26.4%, 58.5%, 0%, 58.4%)
CIE-LABlab(25.14, 28.63, -30.36)
CIE-LCHlch(25.14, 41.72, 313.32°)
OKLaboklab(36.68% 0.0649 -0.0854)
OKLCHoklch(36.68% 0.107 307.2)
XYZxyz(6.6436, 4.4617, 14.1441)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C6A #486A2C
analogous
#2F2C6A #4E2C6A #6A2C67
triadic
#4E2C6A #6A4E2C #2C6A4E
tetradic
#4E2C6A #6A2F2C #486A2C #2C676A
square
#4E2C6A #6A2F2C #486A2C #2C676A
split-complementary
#4E2C6A #676A2C #2C6A2F
monochromatic
#100916 #2E1A3F #4E2C6A #6E3E95 #8D57B9

Accessibility & contrast

On white

11.10
#4E2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E2C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C6A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C6A#FFFFFF#000000##FFFFFF
##4E2C6A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#4A3746
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2c6a;
/* rgb */ color: rgb(78, 44, 106);
/* oklch */ color: oklch(36.7% 0.107 307.2);
Tailwind
colors: {
  custom: {
    50: '#826795',
    500: '#4e2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c6a;
$custom-light: #826795;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c6a",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 272.903,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36675,
    "c": 0.10722,
    "h": 307.2
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#4E2C6A
secondary
#769C56
accent
#D1578E
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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