#4E2665#4E2665

#4E2665 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.4% C 0.111 H 311.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#4E2665
RGBrgb(78, 38, 101)
HSLhsl(278, 45%, 27%)
HSVhsv(278, 62%, 40%)
CMYKcmyk(22.8%, 62.4%, 0%, 60.4%)
CIE-LABlab(23.49, 30.88, -29.75)
CIE-LCHlch(23.49, 42.87, 316.07°)
OKLaboklab(35.36% 0.0734 -0.0836)
OKLCHoklch(35.36% 0.111 311.3)
XYZxyz(6.1835, 3.9457, 12.7452)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2665 #3D6526
analogous
#2E2665 #4E2665 #65265D
triadic
#4E2665 #654E26 #26654E
tetradic
#4E2665 #652E26 #3D6526 #265D65
square
#4E2665 #652E26 #3D6526 #265D65
split-complementary
#4E2665 #5D6526 #26652E
monochromatic
#110816 #2C1539 #4E2665 #703791 #924ABB

Accessibility & contrast

On white

11.74
#4E2665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2665
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2665#FFFFFF#000000##FFFFFF
##4E26651.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103667
Deuteranopia (green-blind)
#213963
Tritanopia (blue-blind)
#4B3141
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2665;
/* rgb */ color: rgb(78, 38, 101);
/* oklch */ color: oklch(35.4% 0.111 311.3);
Tailwind
colors: {
  custom: {
    50: '#826391',
    500: '#4e2665',
    950: '#000000',
  },
}
SCSS
$custom: #4e2665;
$custom-light: #826391;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2665",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 278.095,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.11124,
    "h": 311.3
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#4E2665
secondary
#6A984F
accent
#D55382
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050D
muted
#7C797D

Preview Lab

Preview with #4E2665

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

Preview Lab → · Contrast checker → · Palette generator →

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