#4E2F63#4E2F63

#4E2F63 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.7% C 0.093 H 310.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4E2F63
RGBrgb(78, 47, 99)
HSLhsl(276, 36%, 29%)
HSVhsv(276, 53%, 39%)
CMYKcmyk(21.2%, 52.5%, 0%, 61.2%)
CIE-LABlab(25.42, 24.97, -25.38)
CIE-LCHlch(25.42, 35.60, 314.54°)
OKLaboklab(36.74% 0.0597 -0.0709)
OKLCHoklch(36.74% 0.093 310.1)
XYZxyz(6.4101, 4.5537, 12.3432)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F63 #44632F
analogous
#342F63 #4E2F63 #632F5E
triadic
#4E2F63 #634E2F #2F634E
tetradic
#4E2F63 #63342F #44632F #2F5E63
square
#4E2F63 #63342F #44632F #2F5E63
split-complementary
#4E2F63 #5E632F #2F6334
monochromatic
#100A15 #2D1B39 #4E2F63 #6F438C #8E5BB1

Accessibility & contrast

On white

10.99
#4E2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4E2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F63
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F63#FFFFFF#000000##FFFFFF
##4E2F631.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#2B3D62
Tritanopia (blue-blind)
#4B3844
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2f63;
/* rgb */ color: rgb(78, 47, 99);
/* oklch */ color: oklch(36.7% 0.093 310.1);
Tailwind
colors: {
  custom: {
    50: '#81688f',
    500: '#4e2f63',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f63;
$custom-light: #81688f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f63",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 275.769,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.09263,
    "h": 310.1
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#4E2F63
secondary
#719559
accent
#CC5C89
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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