#4E2F60#4E2F60

#4E2F60 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.6% C 0.089 H 311.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#4E2F60
RGBrgb(78, 47, 96)
HSLhsl(278, 34%, 28%)
HSVhsv(278, 51%, 38%)
CMYKcmyk(18.7%, 51%, 0%, 62.4%)
CIE-LABlab(25.25, 24.21, -23.69)
CIE-LCHlch(25.25, 33.88, 315.62°)
OKLaboklab(36.56% 0.0592 -0.066)
OKLCHoklch(36.56% 0.089 311.9)
XYZxyz(6.2694, 4.4974, 11.6019)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F60 #41602F
analogous
#352F60 #4E2F60 #602F59
triadic
#4E2F60 #604E2F #2F604E
tetradic
#4E2F60 #60352F #41602F #2F5960
square
#4E2F60 #60352F #41602F #2F5960
split-complementary
#4E2F60 #59602F #2F6035
monochromatic
#110A15 #2D1B37 #4E2F60 #6F4389 #905BAF

Accessibility & contrast

On white

11.06
#4E2F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E2F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F60
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F60#FFFFFF#000000##FFFFFF
##4E2F601.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A62
Deuteranopia (green-blind)
#2D3D5F
Tritanopia (blue-blind)
#4C3743
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e2f60;
/* rgb */ color: rgb(78, 47, 96);
/* oklch */ color: oklch(36.6% 0.089 311.9);
Tailwind
colors: {
  custom: {
    50: '#81688d',
    500: '#4e2f60',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f60;
$custom-light: #81688d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f60",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 277.959,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36561,
    "c": 0.08866,
    "h": 311.9
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#4E2F60
secondary
#6E9259
accent
#CA5D85
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2F60

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

Preview Lab → · Contrast checker → · Palette generator →

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