#4E2E6B#4E2E6B

#4E2E6B is a dark, moderate violet. Relative luminance 0.046; OKLCH L 37.1% C 0.105 H 306.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4E2E6B
RGBrgb(78, 46, 107)
HSLhsl(271, 40%, 30%)
HSVhsv(271, 57%, 42%)
CMYKcmyk(27.1%, 57%, 0%, 58%)
CIE-LABlab(25.67, 27.68, -30.16)
CIE-LCHlch(25.67, 40.93, 312.54°)
OKLaboklab(37.08% 0.062 -0.0848)
OKLCHoklch(37.08% 0.105 306.2)
XYZxyz(6.7722, 4.6353, 14.4450)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E6B #4B6B2E
analogous
#2F2E6B #4E2E6B #6B2E6A
triadic
#4E2E6B #6B4E2E #2E6B4E
tetradic
#4E2E6B #6B2F2E #4B6B2E #2E6A6B
square
#4E2E6B #6B2F2E #4B6B2E #2E6A6B
split-complementary
#4E2E6B #6A6B2E #2E6B2F
monochromatic
#100915 #2F1C40 #4E2E6B #6D4096 #8C5BB8

Accessibility & contrast

On white

10.90
#4E2E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E2E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E6B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E6B#FFFFFF#000000##FFFFFF
##4E2E6B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#243D6A
Tritanopia (blue-blind)
#493948
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2e6b;
/* rgb */ color: rgb(78, 46, 107);
/* oklch */ color: oklch(37.1% 0.105 306.2);
Tailwind
colors: {
  custom: {
    50: '#826896',
    500: '#4e2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e6b;
$custom-light: #826896;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e6b",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 271.475,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.10504,
    "h": 306.2
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#4E2E6B
secondary
#799D58
accent
#D05891
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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