#4E2E62#4E2E62

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

Color values

HEX#4E2E62
RGBrgb(78, 46, 98)
HSLhsl(277, 36%, 28%)
HSVhsv(277, 53%, 38%)
CMYKcmyk(20.4%, 53.1%, 0%, 61.6%)
CIE-LABlab(25.12, 25.34, -25.20)
CIE-LCHlch(25.12, 35.73, 315.16°)
OKLaboklab(36.5% 0.0611 -0.0703)
OKLCHoklch(36.5% 0.093 311)
XYZxyz(6.3231, 4.4557, 12.0798)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E62 #42622E
analogous
#342E62 #4E2E62 #622E5C
triadic
#4E2E62 #624E2E #2E624E
tetradic
#4E2E62 #62342E #42622E #2E5C62
square
#4E2E62 #62342E #42622E #2E5C62
split-complementary
#4E2E62 #5C622E #2E6234
monochromatic
#110A15 #2D1A38 #4E2E62 #6F428C #8F59B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2E62#FFFFFF#000000##FFFFFF
##4E2E621.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)
#213A64
Deuteranopia (green-blind)
#2B3C61
Tritanopia (blue-blind)
#4C3643
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2e62;
/* rgb */ color: rgb(78, 46, 98);
/* oklch */ color: oklch(36.5% 0.093 311.0);
Tailwind
colors: {
  custom: {
    50: '#81688f',
    500: '#4e2e62',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e62;
$custom-light: #81688f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e62",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 276.923,
    "s": 36.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36503,
    "c": 0.09318,
    "h": 311
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#4E2E62
secondary
#6F9458
accent
#CC5C87
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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