#4E2962#4E2962

#4E2962 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.6% C 0.102 H 312.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#4E2962
RGBrgb(78, 41, 98)
HSLhsl(279, 41%, 27%)
HSVhsv(279, 58%, 38%)
CMYKcmyk(20.4%, 58.2%, 0%, 61.6%)
CIE-LABlab(23.96, 28.37, -27.04)
CIE-LCHlch(23.96, 39.20, 316.38°)
OKLaboklab(35.64% 0.0689 -0.0757)
OKLCHoklch(35.64% 0.102 312.3)
XYZxyz(6.1390, 4.0876, 12.0185)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2962 #3D6229
analogous
#312962 #4E2962 #62295A
triadic
#4E2962 #624E29 #29624E
tetradic
#4E2962 #623129 #3D6229 #295A62
square
#4E2962 #623129 #3D6229 #295A62
split-complementary
#4E2962 #5A6229 #296231
monochromatic
#110916 #2C1737 #4E2962 #703B8D #9250B6

Accessibility & contrast

On white

11.55
#4E2962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2962
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2962#FFFFFF#000000##FFFFFF
##4E29621.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193764
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#4C3341
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2962;
/* rgb */ color: rgb(78, 41, 98);
/* oklch */ color: oklch(35.6% 0.102 312.3);
Tailwind
colors: {
  custom: {
    50: '#81648f',
    500: '#4e2962',
    950: '#000000',
  },
}
SCSS
$custom: #4e2962;
$custom-light: #81648f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2962",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 278.947,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.10232,
    "h": 312.3
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#4E2962
secondary
#6A9552
accent
#D15782
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A050C
muted
#7C7A7D

Preview Lab

Preview with #4E2962

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

Preview Lab → · Contrast checker → · Palette generator →

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