#4E2B62#4E2B62

#4E2B62 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 36.0% C 0.099 H 311.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4E2B62
RGBrgb(78, 43, 98)
HSLhsl(278, 39%, 28%)
HSVhsv(278, 56%, 38%)
CMYKcmyk(20.4%, 56.1%, 0%, 61.6%)
CIE-LABlab(24.42, 27.18, -26.32)
CIE-LCHlch(24.42, 37.83, 315.92°)
OKLaboklab(35.98% 0.0658 -0.0736)
OKLCHoklch(35.98% 0.099 311.8)
XYZxyz(6.2100, 4.2294, 12.0421)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B62 #3F622B
analogous
#332B62 #4E2B62 #622B5A
triadic
#4E2B62 #624E2B #2B624E
tetradic
#4E2B62 #62332B #3F622B #2B5A62
square
#4E2B62 #62332B #3F622B #2B5A62
split-complementary
#4E2B62 #5A622B #2B6233
monochromatic
#110915 #2C1837 #4E2B62 #703E8D #9154B4

Accessibility & contrast

On white

11.38
#4E2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B62
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B62#FFFFFF#000000##FFFFFF
##4E2B621.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#4C3442
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2b62;
/* rgb */ color: rgb(78, 43, 98);
/* oklch */ color: oklch(36.0% 0.099 311.8);
Tailwind
colors: {
  custom: {
    50: '#81668f',
    500: '#4e2b62',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b62;
$custom-light: #81668f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b62",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 278.182,
    "s": 39.007,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35978,
    "c": 0.09871,
    "h": 311.8
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#4E2B62
secondary
#6C9455
accent
#CF5984
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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