#4E2E6F#4E2E6F

#4E2E6F is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.110 H 304.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4E2E6F
RGBrgb(78, 46, 111)
HSLhsl(270, 41%, 31%)
HSVhsv(270, 59%, 44%)
CMYKcmyk(29.7%, 58.6%, 0%, 56.5%)
CIE-LABlab(25.93, 28.74, -32.32)
CIE-LCHlch(25.93, 43.25, 311.65°)
OKLaboklab(37.35% 0.0622 -0.0911)
OKLCHoklch(37.35% 0.11 304.3)
XYZxyz(6.9875, 4.7214, 15.5791)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E6F #4F6F2E
analogous
#2E2F6F #4E2E6F #6E2E6F
triadic
#4E2E6F #6F4E2E #2E6F4E
tetradic
#4E2E6F #6F2E2F #4F6F2E #2E6F6E
square
#4E2E6F #6F2E2F #4F6F2E #2E6F6E
split-complementary
#4E2E6F #6F6E2E #2F6F2E
monochromatic
#110A18 #301C44 #4E2E6F #6C409A #8B5CBB

Accessibility & contrast

On white

10.80
#4E2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E2E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E6F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E6F#FFFFFF#000000##FFFFFF
##4E2E6F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#483A4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e2e6f;
/* rgb */ color: rgb(78, 46, 111);
/* oklch */ color: oklch(37.4% 0.110 304.3);
Tailwind
colors: {
  custom: {
    50: '#826899',
    500: '#4e2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e6f;
$custom-light: #826899;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e6f",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 269.538,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.11032,
    "h": 304.3
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#4E2E6F
secondary
#7DA058
accent
#D15795
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4E2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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