#3A073B#3A073B

#3A073B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.103 H 327.3°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#3A073B
RGBrgb(58, 7, 59)
HSLhsl(299, 79%, 13%)
HSVhsv(299, 88%, 23%)
CMYKcmyk(1.7%, 88.1%, 0%, 76.9%)
CIE-LABlab(11.74, 31.29, -20.09)
CIE-LCHlch(11.74, 37.18, 327.30°)
OKLaboklab(25.28% 0.0867 -0.0558)
OKLCHoklch(25.28% 0.103 327.3)
XYZxyz(2.6103, 1.3675, 4.2633)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073B #083B07
analogous
#20073B #3A073B #3B0722
triadic
#3A073B #3B3A07 #073B3A
tetradic
#3A073B #3B2007 #083B07 #07223B
square
#3A073B #3B2007 #083B07 #07223B
split-complementary
#3A073B #223B07 #073B20
monochromatic
#1B031B #1B031B #3A073B #700D72 #A614A8

Accessibility & contrast

On white

16.49
#3A073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A073B
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073B#FFFFFF#000000##FFFFFF
##3A073B1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#15213A
Tritanopia (blue-blind)
#3C1021
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a073b;
/* rgb */ color: rgb(58, 7, 59);
/* oklch */ color: oklch(25.3% 0.103 327.3);
Tailwind
colors: {
  custom: {
    50: '#734e71',
    500: '#3a073b',
    950: '#000000',
  },
}
SCSS
$custom: #3a073b;
$custom-light: #734e71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073b",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 298.846,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25281,
    "c": 0.10313,
    "h": 327.3
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#3A073B
secondary
#257A23
accent
#F53336
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A073B

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

Preview Lab → · Contrast checker → · Palette generator →

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