#4E2F62#4E2F62

#4E2F62 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.091 H 310.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4E2F62
RGBrgb(78, 47, 98)
HSLhsl(276, 35%, 28%)
HSVhsv(276, 52%, 38%)
CMYKcmyk(20.4%, 52%, 0%, 61.6%)
CIE-LABlab(25.37, 24.72, -24.82)
CIE-LCHlch(25.37, 35.03, 314.89°)
OKLaboklab(36.68% 0.0595 -0.0692)
OKLCHoklch(36.68% 0.091 310.7)
XYZxyz(6.3626, 4.5347, 12.0930)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F62 #43622F
analogous
#342F62 #4E2F62 #622F5C
triadic
#4E2F62 #624E2F #2F624E
tetradic
#4E2F62 #62342F #43622F #2F5C62
square
#4E2F62 #62342F #43622F #2F5C62
split-complementary
#4E2F62 #5C622F #2F6234
monochromatic
#100A15 #2D1B39 #4E2F62 #6F438B #8F5BB0

Accessibility & contrast

On white

11.01
#4E2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F62
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F62#FFFFFF#000000##FFFFFF
##4E2F621.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B64
Deuteranopia (green-blind)
#2B3D61
Tritanopia (blue-blind)
#4C3744
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2f62;
/* rgb */ color: rgb(78, 47, 98);
/* oklch */ color: oklch(36.7% 0.091 310.7);
Tailwind
colors: {
  custom: {
    50: '#81688f',
    500: '#4e2f62',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f62;
$custom-light: #81688f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f62",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 276.471,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.09131,
    "h": 310.7
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#4E2F62
secondary
#709459
accent
#CB5D88
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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