#3A103B#3A103B

#3A103B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.090 H 326.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#3A103B
RGBrgb(58, 16, 59)
HSLhsl(299, 57%, 15%)
HSVhsv(299, 73%, 23%)
CMYKcmyk(1.7%, 72.9%, 0%, 76.9%)
CIE-LABlab(13.15, 27.30, -17.86)
CIE-LCHlch(13.15, 32.62, 326.82°)
OKLaboklab(26.29% 0.0756 -0.0494)
OKLCHoklch(26.29% 0.09 326.8)
XYZxyz(2.7196, 1.5861, 4.2997)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A103B #113B10
analogous
#25103B #3A103B #3B1027
triadic
#3A103B #3B3A10 #103B3A
tetradic
#3A103B #3B2510 #113B10 #10273B
square
#3A103B #3B2510 #113B10 #10273B
split-complementary
#3A103B #273B10 #103B25
monochromatic
#180718 #180718 #3A103B #691D6B #992A9B

Accessibility & contrast

On white

15.94
#3A103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A103B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A103B#FFFFFF#000000##FFFFFF
##3A103B1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3C
Deuteranopia (green-blind)
#1A243A
Tritanopia (blue-blind)
#3C1623
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a103b;
/* rgb */ color: rgb(58, 16, 59);
/* oklch */ color: oklch(26.3% 0.090 326.8);
Tailwind
colors: {
  custom: {
    50: '#725271',
    500: '#3a103b',
    950: '#000000',
  },
}
SCSS
$custom: #3a103b;
$custom-light: #725271;
$custom-dark: #000000;
JSON
{
  "hex": "#3a103b",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 298.605,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2629,
    "c": 0.09026,
    "h": 326.8
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#3A103B
secondary
#337532
accent
#E1474B
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3A103B

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

Preview Lab → · Contrast checker → · Palette generator →

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