#3A073C#3A073C

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

Color values

HEX#3A073C
RGBrgb(58, 7, 60)
HSLhsl(298, 79%, 13%)
HSVhsv(298, 88%, 24%)
CMYKcmyk(3.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(11.81, 31.49, -20.69)
CIE-LCHlch(11.81, 37.68, 326.69°)
OKLaboklab(25.35% 0.0867 -0.0575)
OKLCHoklch(25.35% 0.104 326.4)
XYZxyz(2.6365, 1.3779, 4.4012)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073C #093C07
analogous
#1F073C #3A073C #3C0723
triadic
#3A073C #3C3A07 #073C3A
tetradic
#3A073C #3C1F07 #093C07 #07233C
square
#3A073C #3C1F07 #093C07 #07233C
split-complementary
#3A073C #233C07 #073C1F
monochromatic
#1A031B #1A031B #3A073C #6F0D73 #A414AA

Accessibility & contrast

On white

16.46
#3A073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A073C
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073C#FFFFFF#000000##FFFFFF
##3A073C1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#14213B
Tritanopia (blue-blind)
#3C1021
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a073c;
/* rgb */ color: rgb(58, 7, 60);
/* oklch */ color: oklch(25.4% 0.104 326.4);
Tailwind
colors: {
  custom: {
    50: '#734e72',
    500: '#3a073c',
    950: '#000000',
  },
}
SCSS
$custom: #3a073c;
$custom-light: #734e72;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073c",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 297.736,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25354,
    "c": 0.10405,
    "h": 326.4
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#3A073C
secondary
#277B23
accent
#F6323A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A073C

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

Preview Lab → · Contrast checker → · Palette generator →

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