#3A0A3C#3A0A3C

#3A0A3C is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.100 H 326.3°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#3A0A3C
RGBrgb(58, 10, 60)
HSLhsl(298, 71%, 14%)
HSVhsv(298, 83%, 24%)
CMYKcmyk(3.3%, 83.3%, 0%, 76.5%)
CIE-LABlab(12.24, 30.25, -20.00)
CIE-LCHlch(12.24, 36.26, 326.52°)
OKLaboklab(25.66% 0.0832 -0.0556)
OKLCHoklch(25.66% 0.1 326.3)
XYZxyz(2.6690, 1.4430, 4.4120)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0A3C #0C3C0A
analogous
#210A3C #3A0A3C #3C0A25
triadic
#3A0A3C #3C3A0A #0A3C3A
tetradic
#3A0A3C #3C210A #0C3C0A #0A253C
square
#3A0A3C #3C210A #0C3C0A #0A253C
split-complementary
#3A0A3C #253C0A #0A3C21
monochromatic
#19041A #19041A #3A0A3C #6D1370 #9F1BA5

Accessibility & contrast

On white

16.30
#3A0A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0A3C
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0A3C#FFFFFF#000000##FFFFFF
##3A0A3C1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#16223B
Tritanopia (blue-blind)
#3C1222
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0a3c;
/* rgb */ color: rgb(58, 10, 60);
/* oklch */ color: oklch(25.7% 0.100 326.3);
Tailwind
colors: {
  custom: {
    50: '#724f72',
    500: '#3a0a3c',
    950: '#000000',
  },
}
SCSS
$custom: #3a0a3c;
$custom-light: #724f72;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0a3c",
  "rgb": {
    "r": 58,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 297.6,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25662,
    "c": 0.10008,
    "h": 326.3
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#3A0A3C
secondary
#2C7928
accent
#EE3A41
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A0A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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