#3A0E4E#3A0E4E

#3A0E4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.113 H 312.7°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4E
RGBrgb(58, 14, 78)
HSLhsl(281, 70%, 18%)
HSVhsv(281, 82%, 31%)
CMYKcmyk(25.6%, 82.1%, 0%, 69.4%)
CIE-LABlab(14.20, 32.58, -29.46)
CIE-LCHlch(14.20, 43.93, 317.88°)
OKLaboklab(27.49% 0.0768 -0.0833)
OKLCHoklch(27.49% 0.113 312.7)
XYZxyz(3.2769, 1.7638, 7.3741)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4E #224E0E
analogous
#1A0E4E #3A0E4E #4E0E42
triadic
#3A0E4E #4E3A0E #0E4E3A
tetradic
#3A0E4E #4E1A0E #224E0E #0E424E
square
#3A0E4E #4E1A0E #224E0E #0E424E
split-complementary
#3A0E4E #424E0E #0E4E1A
monochromatic
#13051A #13051A #3A0E4E #611782 #8721B6

Accessibility & contrast

On white

15.52
#3A0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E4E
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4E#FFFFFF#000000##FFFFFF
##3A0E4E1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#06254D
Tritanopia (blue-blind)
#381D2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0e4e;
/* rgb */ color: rgb(58, 14, 78);
/* oklch */ color: oklch(27.5% 0.113 312.7);
Tailwind
colors: {
  custom: {
    50: '#735280',
    500: '#3a0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4e;
$custom-light: #735280;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4e",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 281.25,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27485,
    "c": 0.11329,
    "h": 312.7
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#3A0E4E
secondary
#4B892F
accent
#EC3B73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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