#3A0A3F#3A0A3F

#3A0A3F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.103 H 323.8°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#3A0A3F
RGBrgb(58, 10, 63)
HSLhsl(294, 73%, 14%)
HSVhsv(294, 84%, 25%)
CMYKcmyk(7.9%, 84.1%, 0%, 75.3%)
CIE-LABlab(12.45, 30.87, -21.80)
CIE-LCHlch(12.45, 37.79, 324.77°)
OKLaboklab(25.88% 0.0831 -0.0608)
OKLCHoklch(25.88% 0.103 323.8)
XYZxyz(2.7506, 1.4757, 4.8416)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A3F #0F3F0A
analogous
#200A3F #3A0A3F #3F0A2A
triadic
#3A0A3F #3F3A0A #0A3F3A
tetradic
#3A0A3F #3F200A #0F3F0A #0A2A3F
square
#3A0A3F #3F200A #0F3F0A #0A2A3F
split-complementary
#3A0A3F #2A3F0A #0A3F20
monochromatic
#18041A #18041A #3A0A3F #6B1274 #9B1BA9

Accessibility & contrast

On white

16.21
#3A0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A3F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A3F#FFFFFF#000000##FFFFFF
##3A0A3F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#3B1424
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0a3f;
/* rgb */ color: rgb(58, 10, 63);
/* oklch */ color: oklch(25.9% 0.103 323.8);
Tailwind
colors: {
  custom: {
    50: '#724f74',
    500: '#3a0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a3f;
$custom-light: #724f74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a3f",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 294.34,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2588,
    "c": 0.10297,
    "h": 323.8
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#3A0A3F
secondary
#307C29
accent
#EF384A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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