#3A073D#3A073D

#3A073D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.105 H 325.6°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#3A073D
RGBrgb(58, 7, 61)
HSLhsl(297, 79%, 13%)
HSVhsv(297, 89%, 24%)
CMYKcmyk(4.9%, 88.5%, 0%, 76.1%)
CIE-LABlab(11.88, 31.68, -21.29)
CIE-LCHlch(11.88, 38.17, 326.10°)
OKLaboklab(25.43% 0.0866 -0.0593)
OKLCHoklch(25.43% 0.105 325.6)
XYZxyz(2.6631, 1.3886, 4.5417)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073D #0A3D07
analogous
#1F073D #3A073D #3D0725
triadic
#3A073D #3D3A07 #073D3A
tetradic
#3A073D #3D1F07 #0A3D07 #07253D
square
#3A073D #3D1F07 #0A3D07 #07253D
split-complementary
#3A073D #253D07 #073D1F
monochromatic
#1A031B #1A031B #3A073D #6E0D74 #A214AB

Accessibility & contrast

On white

16.44
#3A073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A073D
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073D#FFFFFF#000000##FFFFFF
##3A073D1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#13213C
Tritanopia (blue-blind)
#3C1122
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a073d;
/* rgb */ color: rgb(58, 7, 61);
/* oklch */ color: oklch(25.4% 0.105 325.6);
Tailwind
colors: {
  custom: {
    50: '#734e73',
    500: '#3a073d',
    950: '#000000',
  },
}
SCSS
$custom: #3a073d;
$custom-light: #734e73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073d",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 296.667,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25428,
    "c": 0.10497,
    "h": 325.6
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#3A073D
secondary
#287C23
accent
#F6323D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A073D

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

Preview Lab → · Contrast checker → · Palette generator →

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