#4E2F6F#4E2F6F

#4E2F6F is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.5% C 0.109 H 304.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#4E2F6F
RGBrgb(78, 47, 111)
HSLhsl(269, 41%, 31%)
HSVhsv(269, 58%, 44%)
CMYKcmyk(29.7%, 57.7%, 0%, 56.5%)
CIE-LABlab(26.16, 28.13, -31.95)
CIE-LCHlch(26.16, 42.57, 311.37°)
OKLaboklab(37.53% 0.0607 -0.09)
OKLCHoklch(37.53% 0.109 304)
XYZxyz(7.0270, 4.8005, 15.5922)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F6F #506F2F
analogous
#2F306F #4E2F6F #6E2F6F
triadic
#4E2F6F #6F4E2F #2F6F4E
tetradic
#4E2F6F #6F2F30 #506F2F #2F6F6E
square
#4E2F6F #6F2F30 #506F2F #2F6F6E
split-complementary
#4E2F6F #6F6E2F #306F2F
monochromatic
#120B19 #301D44 #4E2F6F #6C419A #8B5EBB

Accessibility & contrast

On white

10.71
#4E2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4E2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F6F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F6F#FFFFFF#000000##FFFFFF
##4E2F6F1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#223E6D
Tritanopia (blue-blind)
#483B4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2f6f;
/* rgb */ color: rgb(78, 47, 111);
/* oklch */ color: oklch(37.5% 0.109 304.0);
Tailwind
colors: {
  custom: {
    50: '#826999',
    500: '#4e2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f6f;
$custom-light: #826999;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f6f",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 269.063,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.10862,
    "h": 304
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#4E2F6F
secondary
#7EA059
accent
#D05796
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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