#3A103C#3A103C

#3A103C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.091 H 325.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#3A103C
RGBrgb(58, 16, 60)
HSLhsl(297, 58%, 15%)
HSVhsv(297, 73%, 24%)
CMYKcmyk(3.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(13.21, 27.52, -18.47)
CIE-LCHlch(13.21, 33.14, 326.14°)
OKLaboklab(26.36% 0.0756 -0.0512)
OKLCHoklch(26.36% 0.091 325.9)
XYZxyz(2.7458, 1.5965, 4.4376)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A103C #123C10
analogous
#24103C #3A103C #3C1028
triadic
#3A103C #3C3A10 #103C3A
tetradic
#3A103C #3C2410 #123C10 #10283C
square
#3A103C #3C2410 #123C10 #10283C
split-complementary
#3A103C #283C10 #103C24
monochromatic
#170618 #170618 #3A103C #691D6C #972A9D

Accessibility & contrast

On white

15.92
#3A103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A103C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A103C#FFFFFF#000000##FFFFFF
##3A103C1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3D
Deuteranopia (green-blind)
#19243B
Tritanopia (blue-blind)
#3C1624
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a103c;
/* rgb */ color: rgb(58, 16, 60);
/* oklch */ color: oklch(26.4% 0.091 325.9);
Tailwind
colors: {
  custom: {
    50: '#725272',
    500: '#3a103c',
    950: '#000000',
  },
}
SCSS
$custom: #3a103c;
$custom-light: #725272;
$custom-dark: #000000;
JSON
{
  "hex": "#3a103c",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 297.273,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26357,
    "c": 0.09129,
    "h": 325.9
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#3A103C
secondary
#357632
accent
#E1474E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A103C

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

Preview Lab → · Contrast checker → · Palette generator →

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