#4E2765#4E2765

#4E2765 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.5% C 0.110 H 311.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#4E2765
RGBrgb(78, 39, 101)
HSLhsl(278, 44%, 27%)
HSVhsv(278, 61%, 40%)
CMYKcmyk(22.8%, 61.4%, 0%, 60.4%)
CIE-LABlab(23.71, 30.30, -29.40)
CIE-LCHlch(23.71, 42.22, 315.86°)
OKLaboklab(35.52% 0.072 -0.0826)
OKLCHoklch(35.52% 0.11 311.1)
XYZxyz(6.2159, 4.0105, 12.7560)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2765 #3E6527
analogous
#2F2765 #4E2765 #65275D
triadic
#4E2765 #654E27 #27654E
tetradic
#4E2765 #652F27 #3E6527 #275D65
square
#4E2765 #652F27 #3E6527 #275D65
split-complementary
#4E2765 #5D6527 #27652F
monochromatic
#110916 #2C1639 #4E2765 #703891 #914CBA

Accessibility & contrast

On white

11.65
#4E2765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2765
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2765#FFFFFF#000000##FFFFFF
##4E27651.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133767
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#4B3242
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2765;
/* rgb */ color: rgb(78, 39, 101);
/* oklch */ color: oklch(35.5% 0.110 311.1);
Tailwind
colors: {
  custom: {
    50: '#826391',
    500: '#4e2765',
    950: '#000000',
  },
}
SCSS
$custom: #4e2765;
$custom-light: #826391;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2765",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 277.742,
    "s": 44.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.10954,
    "h": 311.1
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#4E2765
secondary
#6B9850
accent
#D45483
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B050D
muted
#7C7A7D

Preview Lab

Preview with #4E2765

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

Preview Lab → · Contrast checker → · Palette generator →

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