#4E1B68#4E1B68

#4E1B68 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.132 H 311.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#4E1B68
RGBrgb(78, 27, 104)
HSLhsl(280, 59%, 26%)
HSVhsv(280, 74%, 41%)
CMYKcmyk(25%, 74%, 0%, 59.2%)
CIE-LABlab(21.59, 37.41, -34.75)
CIE-LCHlch(21.59, 51.06, 317.11°)
OKLaboklab(34.06% 0.0876 -0.0982)
OKLCHoklch(34.06% 0.132 311.8)
XYZxyz(6.0320, 3.4032, 13.4331)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B68 #35681B
analogous
#271B68 #4E1B68 #681B5B
triadic
#4E1B68 #684E1B #1B684E
tetradic
#4E1B68 #68271B #35681B #1B5B68
square
#4E1B68 #68271B #35681B #1B5B68
split-complementary
#4E1B68 #5B681B #1B6827
monochromatic
#120618 #2A0E37 #4E1B68 #722899 #9734C9

Accessibility & contrast

On white

12.50
#4E1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B68
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B68#FFFFFF#000000##FFFFFF
##4E1B681.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#123566
Tritanopia (blue-blind)
#4B2B3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1b68;
/* rgb */ color: rgb(78, 27, 104);
/* oklch */ color: oklch(34.1% 0.132 311.8);
Tailwind
colors: {
  custom: {
    50: '#835c94',
    500: '#4e1b68',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b68;
$custom-light: #835c94;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b68",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 279.74,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34057,
    "c": 0.1316,
    "h": 311.8
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#4E1B68
secondary
#619D42
accent
#E2467B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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