#3A0E4A#3A0E4A

#3A0E4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.109 H 315.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4A
RGBrgb(58, 14, 74)
HSLhsl(284, 68%, 17%)
HSVhsv(284, 81%, 29%)
CMYKcmyk(21.6%, 81.1%, 0%, 71%)
CIE-LABlab(13.87, 31.63, -27.22)
CIE-LCHlch(13.87, 41.73, 319.28°)
OKLaboklab(27.16% 0.0775 -0.0767)
OKLCHoklch(27.16% 0.109 315.3)
XYZxyz(3.1378, 1.7081, 6.6417)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4A #1E4A0E
analogous
#1C0E4A #3A0E4A #4A0E3C
triadic
#3A0E4A #4A3A0E #0E4A3A
tetradic
#3A0E4A #4A1C0E #1E4A0E #0E3C4A
square
#3A0E4A #4A1C0E #1E4A0E #0E3C4A
split-complementary
#3A0E4A #3C4A0E #0E4A1C
monochromatic
#14051A #14051A #3A0E4A #62187D #8B21B1

Accessibility & contrast

On white

15.65
#3A0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E4A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4A#FFFFFF#000000##FFFFFF
##3A0E4A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0C2449
Tritanopia (blue-blind)
#391B2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e4a;
/* rgb */ color: rgb(58, 14, 74);
/* oklch */ color: oklch(27.2% 0.109 315.3);
Tailwind
colors: {
  custom: {
    50: '#73527d',
    500: '#3a0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4a;
$custom-light: #73527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4a",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 284,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27156,
    "c": 0.10902,
    "h": 315.3
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#3A0E4A
secondary
#46852F
accent
#EB3D6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A0E4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva