#4E2F70#4E2F70

#4E2F70 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.6% C 0.110 H 303.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4E2F70
RGBrgb(78, 47, 112)
HSLhsl(269, 41%, 31%)
HSVhsv(269, 58%, 44%)
CMYKcmyk(30.4%, 58%, 0%, 56.1%)
CIE-LABlab(26.22, 28.41, -32.49)
CIE-LCHlch(26.22, 43.15, 311.17°)
OKLaboklab(37.6% 0.0608 -0.0916)
OKLCHoklch(37.6% 0.11 303.6)
XYZxyz(7.0824, 4.8226, 15.8838)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F70 #51702F
analogous
#2F3070 #4E2F70 #6E2F70
triadic
#4E2F70 #704E2F #2F704E
tetradic
#4E2F70 #702F30 #51702F #2F706E
square
#4E2F70 #702F30 #51702F #2F706E
split-complementary
#4E2F70 #706E2F #30702F
monochromatic
#120B1A #301D45 #4E2F70 #6C419B #8B5EBB

Accessibility & contrast

On white

10.69
#4E2F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2F70
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F70#FFFFFF#000000##FFFFFF
##4E2F701.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D72
Deuteranopia (green-blind)
#213E6E
Tritanopia (blue-blind)
#483B4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2f70;
/* rgb */ color: rgb(78, 47, 112);
/* oklch */ color: oklch(37.6% 0.110 303.6);
Tailwind
colors: {
  custom: {
    50: '#826999',
    500: '#4e2f70',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f70;
$custom-light: #826999;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f70",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 268.615,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37595,
    "c": 0.10995,
    "h": 303.6
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#4E2F70
secondary
#7FA15A
accent
#D15797
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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