#3A103A#3A103A

#3A103A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.089 H 327.8°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#3A103A
RGBrgb(58, 16, 58)
HSLhsl(300, 57%, 15%)
HSVhsv(300, 72%, 23%)
CMYKcmyk(0%, 72.4%, 0%, 77.3%)
CIE-LABlab(13.08, 27.09, -17.24)
CIE-LCHlch(13.08, 32.11, 327.53°)
OKLaboklab(26.22% 0.0755 -0.0476)
OKLCHoklch(26.22% 0.089 327.8)
XYZxyz(2.6939, 1.5758, 4.1644)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A103A #103A10
analogous
#25103A #3A103A #3A1025
triadic
#3A103A #3A3A10 #103A3A
tetradic
#3A103A #3A2510 #103A10 #10253A
square
#3A103A #3A2510 #103A10 #10253A
split-complementary
#3A103A #253A10 #103A25
monochromatic
#180718 #180718 #3A103A #6A1D6A #9A2A9A

Accessibility & contrast

On white

15.97
#3A103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3A103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A103A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A103A#FFFFFF#000000##FFFFFF
##3A103A1.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#1A2439
Tritanopia (blue-blind)
#3C1523
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a103a;
/* rgb */ color: rgb(58, 16, 58);
/* oklch */ color: oklch(26.2% 0.089 327.8);
Tailwind
colors: {
  custom: {
    50: '#725270',
    500: '#3a103a',
    950: '#000000',
  },
}
SCSS
$custom: #3a103a;
$custom-light: #725270;
$custom-dark: #000000;
JSON
{
  "hex": "#3a103a",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26224,
    "c": 0.08925,
    "h": 327.8
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#3A103A
secondary
#327432
accent
#E04848
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A103A

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

Preview Lab → · Contrast checker → · Palette generator →

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