#3A073E#3A073E

#3A073E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.106 H 324.8°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#3A073E
RGBrgb(58, 7, 62)
HSLhsl(296, 80%, 14%)
HSVhsv(296, 89%, 24%)
CMYKcmyk(6.5%, 88.7%, 0%, 75.7%)
CIE-LABlab(11.95, 31.89, -21.89)
CIE-LCHlch(11.95, 38.67, 325.54°)
OKLaboklab(25.5% 0.0865 -0.061)
OKLCHoklch(25.5% 0.106 324.8)
XYZxyz(2.6903, 1.3995, 4.6849)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073E #0B3E07
analogous
#1E073E #3A073E #3E0726
triadic
#3A073E #3E3A07 #073E3A
tetradic
#3A073E #3E1E07 #0B3E07 #07263E
square
#3A073E #3E1E07 #0B3E07 #07263E
split-complementary
#3A073E #263E07 #073E1E
monochromatic
#1A031B #1A031B #3A073E #6D0D75 #A113AC

Accessibility & contrast

On white

16.41
#3A073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A073E
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073E#FFFFFF#000000##FFFFFF
##3A073E1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#13213D
Tritanopia (blue-blind)
#3B1122
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a073e;
/* rgb */ color: rgb(58, 7, 62);
/* oklch */ color: oklch(25.5% 0.106 324.8);
Tailwind
colors: {
  custom: {
    50: '#734e73',
    500: '#3a073e',
    950: '#000000',
  },
}
SCSS
$custom: #3a073e;
$custom-light: #734e73;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073e",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 295.636,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25503,
    "c": 0.10589,
    "h": 324.8
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#3A073E
secondary
#2A7D24
accent
#F63240
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A073E

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

Preview Lab → · Contrast checker → · Palette generator →

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