#4E2F64#4E2F64

#4E2F64 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.8% C 0.094 H 309.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#4E2F64
RGBrgb(78, 47, 100)
HSLhsl(275, 36%, 29%)
HSVhsv(275, 53%, 39%)
CMYKcmyk(22%, 53%, 0%, 60.8%)
CIE-LABlab(25.48, 25.23, -25.93)
CIE-LCHlch(25.48, 36.18, 314.21°)
OKLaboklab(36.81% 0.0598 -0.0725)
OKLCHoklch(36.81% 0.094 309.5)
XYZxyz(6.4582, 4.5729, 12.5966)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F64 #45642F
analogous
#342F64 #4E2F64 #642F60
triadic
#4E2F64 #644E2F #2F644E
tetradic
#4E2F64 #64342F #45642F #2F6064
square
#4E2F64 #64342F #45642F #2F6064
split-complementary
#4E2F64 #60642F #2F6434
monochromatic
#100A15 #2E1B3A #4E2F64 #6E438E #8E5BB2

Accessibility & contrast

On white

10.97
#4E2F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F64
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F64#FFFFFF#000000##FFFFFF
##4E2F641.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#2A3D63
Tritanopia (blue-blind)
#4B3845
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2f64;
/* rgb */ color: rgb(78, 47, 100);
/* oklch */ color: oklch(36.8% 0.094 309.5);
Tailwind
colors: {
  custom: {
    50: '#816890',
    500: '#4e2f64',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f64;
$custom-light: #816890;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f64",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 275.094,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36806,
    "c": 0.09396,
    "h": 309.5
  },
  "luminance": 0.04573
}

Semantic roles & 50–950 ramp

primary
#4E2F64
secondary
#729659
accent
#CC5C8A
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F64

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

Preview Lab → · Contrast checker → · Palette generator →

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