#3A0A3A#3A0A3A

#3A0A3A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.098 H 328.0°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#3A0A3A
RGBrgb(58, 10, 58)
HSLhsl(300, 71%, 13%)
HSVhsv(300, 83%, 23%)
CMYKcmyk(0%, 82.8%, 0%, 77.3%)
CIE-LABlab(12.11, 29.84, -18.79)
CIE-LCHlch(12.11, 35.26, 327.80°)
OKLaboklab(25.52% 0.0833 -0.052)
OKLCHoklch(25.52% 0.098 328)
XYZxyz(2.6172, 1.4223, 4.1389)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A3A #0A3A0A
analogous
#220A3A #3A0A3A #3A0A22
triadic
#3A0A3A #3A3A0A #0A3A3A
tetradic
#3A0A3A #3A220A #0A3A0A #0A223A
square
#3A0A3A #3A220A #0A3A0A #0A223A
split-complementary
#3A0A3A #223A0A #0A3A22
monochromatic
#1A051A #1A051A #3A0A3A #6E136E #A21CA2

Accessibility & contrast

On white

16.35
#3A0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A0A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A3A
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A3A#FFFFFF#000000##FFFFFF
##3A0A3A1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#172239
Tritanopia (blue-blind)
#3C1121
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0a3a;
/* rgb */ color: rgb(58, 10, 58);
/* oklch */ color: oklch(25.5% 0.098 328.0);
Tailwind
colors: {
  custom: {
    50: '#724f70',
    500: '#3a0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a3a;
$custom-light: #724f70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a3a",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2552,
    "c": 0.09818,
    "h": 328
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#3A0A3A
secondary
#287728
accent
#ED3A3A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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