#3A0E4D#3A0E4D

#3A0E4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.112 H 313.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4D
RGBrgb(58, 14, 77)
HSLhsl(282, 69%, 18%)
HSVhsv(282, 82%, 30%)
CMYKcmyk(24.7%, 81.8%, 0%, 69.8%)
CIE-LABlab(14.11, 32.34, -28.91)
CIE-LCHlch(14.11, 43.38, 318.21°)
OKLaboklab(27.4% 0.077 -0.0817)
OKLCHoklch(27.4% 0.112 313.3)
XYZxyz(3.2413, 1.7495, 7.1867)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4D #214D0E
analogous
#1A0E4D #3A0E4D #4D0E40
triadic
#3A0E4D #4D3A0E #0E4D3A
tetradic
#3A0E4D #4D1A0E #214D0E #0E404D
square
#3A0E4D #4D1A0E #214D0E #0E404D
split-complementary
#3A0E4D #404D0E #0E4D1A
monochromatic
#14051A #14051A #3A0E4D #611781 #8821B5

Accessibility & contrast

On white

15.56
#3A0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E4D
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4D#FFFFFF#000000##FFFFFF
##3A0E4D1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#08254C
Tritanopia (blue-blind)
#381C2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0e4d;
/* rgb */ color: rgb(58, 14, 77);
/* oklch */ color: oklch(27.4% 0.112 313.3);
Tailwind
colors: {
  custom: {
    50: '#73527f',
    500: '#3a0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4d;
$custom-light: #73527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4d",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 281.905,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27402,
    "c": 0.11222,
    "h": 313.3
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#3A0E4D
secondary
#4A882F
accent
#EC3C71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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