#3A073F#3A073F

#3A073F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.107 H 324.0°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#3A073F
RGBrgb(58, 7, 63)
HSLhsl(295, 80%, 14%)
HSVhsv(295, 89%, 25%)
CMYKcmyk(7.9%, 88.9%, 0%, 75.3%)
CIE-LABlab(12.03, 32.09, -22.48)
CIE-LCHlch(12.03, 39.18, 324.99°)
OKLaboklab(25.58% 0.0864 -0.0628)
OKLCHoklch(25.58% 0.107 324)
XYZxyz(2.7180, 1.4106, 4.8308)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A073F #0C3F07
analogous
#1E073F #3A073F #3F0728
triadic
#3A073F #3F3A07 #073F3A
tetradic
#3A073F #3F1E07 #0C3F07 #07283F
square
#3A073F #3F1E07 #0C3F07 #07283F
split-complementary
#3A073F #283F07 #073F1E
monochromatic
#19031C #19031C #3A073F #6D0D76 #9F13AD

Accessibility & contrast

On white

16.38
#3A073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A073F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A073F#FFFFFF#000000##FFFFFF
##3A073F1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#3B1223
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a073f;
/* rgb */ color: rgb(58, 7, 63);
/* oklch */ color: oklch(25.6% 0.107 324.0);
Tailwind
colors: {
  custom: {
    50: '#734e74',
    500: '#3a073f',
    950: '#000000',
  },
}
SCSS
$custom: #3a073f;
$custom-light: #734e74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a073f",
  "rgb": {
    "r": 58,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 294.643,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25578,
    "c": 0.10683,
    "h": 324
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#3A073F
secondary
#2C7E24
accent
#F63143
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A073F

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

Preview Lab → · Contrast checker → · Palette generator →

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