#4E2F75#4E2F75

#4E2F75 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.9% C 0.117 H 301.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4E2F75
RGBrgb(78, 47, 117)
HSLhsl(267, 43%, 32%)
HSVhsv(267, 60%, 46%)
CMYKcmyk(33.3%, 59.8%, 0%, 54.1%)
CIE-LABlab(26.55, 29.77, -35.14)
CIE-LCHlch(26.55, 46.06, 310.27°)
OKLaboklab(37.95% 0.0609 -0.0994)
OKLCHoklch(37.95% 0.117 301.5)
XYZxyz(7.3685, 4.9371, 17.3909)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F75 #56752F
analogous
#2F3375 #4E2F75 #712F75
triadic
#4E2F75 #754E2F #2F754E
tetradic
#4E2F75 #752F33 #56752F #2F7571
square
#4E2F75 #752F33 #56752F #2F7571
split-complementary
#4E2F75 #75712F #33752F
monochromatic
#140C1E #311D49 #4E2F75 #6B41A1 #8A5FBF

Accessibility & contrast

On white

10.57
#4E2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F75
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F75#FFFFFF#000000##FFFFFF
##4E2F751.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E77
Deuteranopia (green-blind)
#1C3E73
Tritanopia (blue-blind)
#463D4D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2f75;
/* rgb */ color: rgb(78, 47, 117);
/* oklch */ color: oklch(37.9% 0.117 301.5);
Tailwind
colors: {
  custom: {
    50: '#82699d',
    500: '#4e2f75',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f75;
$custom-light: #82699d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f75",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 266.571,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.11659,
    "h": 301.5
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#4E2F75
secondary
#84A65A
accent
#D2559B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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