#3A0733#3A0733

#3A0733 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.096 H 334.4°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#3A0733
RGBrgb(58, 7, 51)
HSLhsl(308, 78%, 13%)
HSVhsv(308, 88%, 23%)
CMYKcmyk(0%, 87.9%, 12.1%, 77.3%)
CIE-LABlab(11.21, 29.78, -15.15)
CIE-LCHlch(11.21, 33.41, 333.04°)
OKLaboklab(24.73% 0.0867 -0.0415)
OKLCHoklch(24.73% 0.096 334.4)
XYZxyz(2.4185, 1.2907, 3.2531)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0733 #073A0E
analogous
#27073A #3A0733 #3A071A
triadic
#3A0733 #333A07 #07333A
tetradic
#3A0733 #3A2707 #073A0E #071A3A
square
#3A0733 #3A2707 #073A0E #071A3A
split-complementary
#3A0733 #1A3A07 #073A27
monochromatic
#1B0318 #1B0318 #3A0733 #710E63 #A71493

Accessibility & contrast

On white

16.69
#3A0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3A0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0733
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0733#FFFFFF#000000##FFFFFF
##3A07331.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061934
Deuteranopia (green-blind)
#192132
Tritanopia (blue-blind)
#3D0C1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3a0733;
/* rgb */ color: rgb(58, 7, 51);
/* oklch */ color: oklch(24.7% 0.096 334.4);
Tailwind
colors: {
  custom: {
    50: '#734d6b',
    500: '#3a0733',
    950: '#000000',
  },
}
SCSS
$custom: #3a0733;
$custom-light: #734d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0733",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 308.235,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24733,
    "c": 0.09608,
    "h": 334.4
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#3A0733
secondary
#23792F
accent
#F54D33
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0733

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

Preview Lab → · Contrast checker → · Palette generator →

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