#4E2B63#4E2B63

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

Color values

HEX#4E2B63
RGBrgb(78, 43, 99)
HSLhsl(278, 39%, 28%)
HSVhsv(278, 57%, 39%)
CMYKcmyk(21.2%, 56.6%, 0%, 61.2%)
CIE-LABlab(24.48, 27.43, -26.88)
CIE-LCHlch(24.48, 38.40, 315.58°)
OKLaboklab(36.04% 0.0659 -0.0752)
OKLCHoklch(36.04% 0.1 311.2)
XYZxyz(6.2575, 4.2484, 12.2924)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B63 #40632B
analogous
#322B63 #4E2B63 #632B5C
triadic
#4E2B63 #634E2B #2B634E
tetradic
#4E2B63 #63322B #40632B #2B5C63
square
#4E2B63 #63322B #40632B #2B5C63
split-complementary
#4E2B63 #5C632B #2B6332
monochromatic
#110915 #2C1838 #4E2B63 #703E8E #9054B5

Accessibility & contrast

On white

11.35
#4E2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B63
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B63#FFFFFF#000000##FFFFFF
##4E2B631.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3865
Deuteranopia (green-blind)
#273B62
Tritanopia (blue-blind)
#4C3442
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2b63;
/* rgb */ color: rgb(78, 43, 99);
/* oklch */ color: oklch(36.0% 0.100 311.2);
Tailwind
colors: {
  custom: {
    50: '#816690',
    500: '#4e2b63',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b63;
$custom-light: #816690;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b63",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 277.5,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36043,
    "c": 0.09999,
    "h": 311.2
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#4E2B63
secondary
#6D9555
accent
#CF5885
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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