#4E2663#4E2663

#4E2663 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.2% C 0.109 H 312.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#4E2663
RGBrgb(78, 38, 99)
HSLhsl(279, 45%, 27%)
HSVhsv(279, 62%, 39%)
CMYKcmyk(21.2%, 61.6%, 0%, 61.2%)
CIE-LABlab(23.36, 30.38, -28.65)
CIE-LCHlch(23.36, 41.76, 316.68°)
OKLaboklab(35.22% 0.0734 -0.0803)
OKLCHoklch(35.22% 0.109 312.4)
XYZxyz(6.0867, 3.9069, 12.2354)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2663 #3B6326
analogous
#2F2663 #4E2663 #63265A
triadic
#4E2663 #634E26 #26634E
tetradic
#4E2663 #632F26 #3B6326 #265A63
square
#4E2663 #632F26 #3B6326 #265A63
split-complementary
#4E2663 #5A6326 #26632F
monochromatic
#110816 #2B1537 #4E2663 #71378F #934AB9

Accessibility & contrast

On white

11.79
#4E2663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2663
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2663#FFFFFF#000000##FFFFFF
##4E26631.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#223961
Tritanopia (blue-blind)
#4C3140
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2663;
/* rgb */ color: rgb(78, 38, 99);
/* oklch */ color: oklch(35.2% 0.109 312.4);
Tailwind
colors: {
  custom: {
    50: '#826290',
    500: '#4e2663',
    950: '#000000',
  },
}
SCSS
$custom: #4e2663;
$custom-light: #826290;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2663",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 279.344,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35224,
    "c": 0.10881,
    "h": 312.4
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#4E2663
secondary
#67964F
accent
#D45480
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E2663

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

Preview Lab → · Contrast checker → · Palette generator →

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