#3A073A#3A073A

#3A073A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.102 H 328.1°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#3A073A
RGBrgb(58, 7, 58)
HSLhsl(300, 78%, 13%)
HSVhsv(300, 88%, 23%)
CMYKcmyk(0%, 87.9%, 0%, 77.3%)
CIE-LABlab(11.67, 31.09, -19.48)
CIE-LCHlch(11.67, 36.69, 327.93°)
OKLaboklab(25.21% 0.0868 -0.054)
OKLCHoklch(25.21% 0.102 328.1)
XYZxyz(2.5846, 1.3572, 4.1280)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073A #073A07
analogous
#20073A #3A073A #3A0720
triadic
#3A073A #3A3A07 #073A3A
tetradic
#3A073A #3A2007 #073A07 #07203A
square
#3A073A #3A2007 #073A07 #07203A
split-complementary
#3A073A #203A07 #073A20
monochromatic
#1B031B #1B031B #3A073A #710E71 #A714A7

Accessibility & contrast

On white

16.52
#3A073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A073A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073A#FFFFFF#000000##FFFFFF
##3A073A1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#3C0F20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a073a;
/* rgb */ color: rgb(58, 7, 58);
/* oklch */ color: oklch(25.2% 0.102 328.1);
Tailwind
colors: {
  custom: {
    50: '#734e70',
    500: '#3a073a',
    950: '#000000',
  },
}
SCSS
$custom: #3a073a;
$custom-light: #734e70;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073a",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25209,
    "c": 0.10223,
    "h": 328.1
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#3A073A
secondary
#237923
accent
#F53333
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A073A

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

Preview Lab → · Contrast checker → · Palette generator →

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