#4E0F68#4E0F68

#4E0F68 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.146 H 313.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4E0F68
RGBrgb(78, 15, 104)
HSLhsl(282, 75%, 23%)
HSVhsv(282, 86%, 41%)
CMYKcmyk(25%, 85.6%, 0%, 59.2%)
CIE-LABlab(19.89, 42.29, -37.51)
CIE-LCHlch(19.89, 56.52, 318.43°)
OKLaboklab(32.85% 0.0996 -0.1062)
OKLCHoklch(32.85% 0.146 313.2)
XYZxyz(5.8110, 2.9610, 13.3594)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F68 #29680F
analogous
#210F68 #4E0F68 #680F55
triadic
#4E0F68 #684E0F #0F684E
tetradic
#4E0F68 #68210F #29680F #0F5568
square
#4E0F68 #68210F #29680F #0F5568
split-complementary
#4E0F68 #55680F #0F6821
monochromatic
#14041B #260733 #4E0F68 #76179D #9E1ED3

Accessibility & contrast

On white

13.19
#4E0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F68
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F68#FFFFFF#000000##FFFFFF
##4E0F681.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#023166
Tritanopia (blue-blind)
#4B253C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e0f68;
/* rgb */ color: rgb(78, 15, 104);
/* oklch */ color: oklch(32.9% 0.146 313.2);
Tailwind
colors: {
  custom: {
    50: '#835794',
    500: '#4e0f68',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f68;
$custom-light: #835794;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f68",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 282.472,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32852,
    "c": 0.14556,
    "h": 313.2
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#4E0F68
secondary
#52A132
accent
#F1366D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4E0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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