#4A0E5F#4A0E5F

#4A0E5F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.137 H 315.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#4A0E5F
RGBrgb(74, 14, 95)
HSLhsl(284, 74%, 21%)
HSVhsv(284, 85%, 37%)
CMYKcmyk(22.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(18.35, 39.87, -34.09)
CIE-LCHlch(18.35, 52.46, 319.46°)
OKLaboklab(31.41% 0.0968 -0.0963)
OKLCHoklch(31.41% 0.137 315.1)
XYZxyz(5.0463, 2.5963, 11.0596)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E5F #235F0E
analogous
#220E5F #4A0E5F #5F0E4C
triadic
#4A0E5F #5F4A0E #0E5F4A
tetradic
#4A0E5F #5F220E #235F0E #0E4C5F
square
#4A0E5F #5F220E #235F0E #0E4C5F
split-complementary
#4A0E5F #4C5F0E #0E5F22
monochromatic
#15041B #20062A #4A0E5F #741694 #9D1ECA

Accessibility & contrast

On white

13.82
#4A0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4A0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E5F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E5F#FFFFFF#000000##FFFFFF
##4A0E5F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#482237
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4a0e5f;
/* rgb */ color: rgb(74, 14, 95);
/* oklch */ color: oklch(31.4% 0.137 315.1);
Tailwind
colors: {
  custom: {
    50: '#80558d',
    500: '#4a0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e5f;
$custom-light: #80558d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e5f",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 284.444,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.1365,
    "h": 315.1
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#4A0E5F
secondary
#4B9930
accent
#F13767
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4A0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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