#4E2666#4E2666

#4E2666 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.112 H 310.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#4E2666
RGBrgb(78, 38, 102)
HSLhsl(278, 46%, 27%)
HSVhsv(278, 63%, 40%)
CMYKcmyk(23.5%, 62.7%, 0%, 60%)
CIE-LABlab(23.56, 31.13, -30.29)
CIE-LCHlch(23.56, 43.43, 315.78°)
OKLaboklab(35.43% 0.0734 -0.0852)
OKLCHoklch(35.43% 0.112 310.8)
XYZxyz(6.2328, 3.9654, 13.0048)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2666 #3E6626
analogous
#2E2666 #4E2666 #66265E
triadic
#4E2666 #664E26 #26664E
tetradic
#4E2666 #662E26 #3E6626 #265E66
square
#4E2666 #662E26 #3E6626 #265E66
split-complementary
#4E2666 #5E6626 #26662E
monochromatic
#110816 #2C1539 #4E2666 #703793 #914BBC

Accessibility & contrast

On white

11.71
#4E2666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2666
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2666#FFFFFF#000000##FFFFFF
##4E26661.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#203964
Tritanopia (blue-blind)
#4B3242
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2666;
/* rgb */ color: rgb(78, 38, 102);
/* oklch */ color: oklch(35.4% 0.112 310.8);
Tailwind
colors: {
  custom: {
    50: '#826392',
    500: '#4e2666',
    950: '#000000',
  },
}
SCSS
$custom: #4e2666;
$custom-light: #826392;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2666",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 277.5,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3543,
    "c": 0.11246,
    "h": 310.8
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#4E2666
secondary
#6B994F
accent
#D55284
background
#F8F5F9
surface
#EFEAF1
border
#CAC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E2666

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

Preview Lab → · Contrast checker → · Palette generator →

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