#4E2F6D#4E2F6D

#4E2F6D is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.4% C 0.106 H 304.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2F6D
RGBrgb(78, 47, 109)
HSLhsl(270, 40%, 31%)
HSVhsv(270, 57%, 43%)
CMYKcmyk(28.4%, 56.9%, 0%, 57.3%)
CIE-LABlab(26.03, 27.60, -30.87)
CIE-LCHlch(26.03, 41.41, 311.80°)
OKLaboklab(37.39% 0.0606 -0.0869)
OKLCHoklch(37.39% 0.106 304.9)
XYZxyz(6.9181, 4.7569, 15.0187)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F6D #4E6D2F
analogous
#2F2F6D #4E2F6D #6D2F6D
triadic
#4E2F6D #6D4E2F #2F6D4E
tetradic
#4E2F6D #6D2F2F #4E6D2F #2F6D6D
square
#4E2F6D #6D2F2F #4E6D2F #2F6D6D
split-complementary
#4E2F6D #6D6D2F #2F6D2F
monochromatic
#110A17 #2F1D42 #4E2F6D #6D4198 #8B5DB9

Accessibility & contrast

On white

10.76
#4E2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4E2F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F6D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F6D#FFFFFF#000000##FFFFFF
##4E2F6D1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#243E6B
Tritanopia (blue-blind)
#493B49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e2f6d;
/* rgb */ color: rgb(78, 47, 109);
/* oklch */ color: oklch(37.4% 0.106 304.9);
Tailwind
colors: {
  custom: {
    50: '#826997',
    500: '#4e2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f6d;
$custom-light: #826997;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f6d",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 270,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3739,
    "c": 0.10595,
    "h": 304.9
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#4E2F6D
secondary
#7C9E59
accent
#D05894
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #4E2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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