#4E2E6C#4E2E6C

#4E2E6C is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.106 H 305.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#4E2E6C
RGBrgb(78, 46, 108)
HSLhsl(271, 40%, 30%)
HSVhsv(271, 57%, 42%)
CMYKcmyk(27.8%, 57.4%, 0%, 57.6%)
CIE-LABlab(25.73, 27.94, -30.70)
CIE-LCHlch(25.73, 41.51, 312.30°)
OKLaboklab(37.15% 0.062 -0.0864)
OKLCHoklch(37.15% 0.106 305.7)
XYZxyz(6.8251, 4.6565, 14.7237)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E6C #4C6C2E
analogous
#2F2E6C #4E2E6C #6C2E6B
triadic
#4E2E6C #6C4E2E #2E6C4E
tetradic
#4E2E6C #6C2F2E #4C6C2E #2E6B6C
square
#4E2E6C #6C2F2E #4C6C2E #2E6B6C
split-complementary
#4E2E6C #6B6C2E #2E6C2F
monochromatic
#100916 #2F1C41 #4E2E6C #6D4097 #8C5BB9

Accessibility & contrast

On white

10.87
#4E2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E6C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E6C#FFFFFF#000000##FFFFFF
##4E2E6C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#493948
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2e6c;
/* rgb */ color: rgb(78, 46, 108);
/* oklch */ color: oklch(37.1% 0.106 305.7);
Tailwind
colors: {
  custom: {
    50: '#826896',
    500: '#4e2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e6c;
$custom-light: #826896;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e6c",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 270.968,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.10637,
    "h": 305.7
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#4E2E6C
secondary
#7A9E58
accent
#D05892
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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