#3A103F#3A103F

#3A103F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.094 H 323.3°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#3A103F
RGBrgb(58, 16, 63)
HSLhsl(294, 59%, 15%)
HSVhsv(294, 75%, 25%)
CMYKcmyk(7.9%, 74.6%, 0%, 75.3%)
CIE-LABlab(13.41, 28.17, -20.28)
CIE-LCHlch(13.41, 34.71, 324.25°)
OKLaboklab(26.56% 0.0757 -0.0564)
OKLCHoklch(26.56% 0.094 323.3)
XYZxyz(2.8273, 1.6292, 4.8672)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A103F #153F10
analogous
#22103F #3A103F #3F102C
triadic
#3A103F #3F3A10 #103F3A
tetradic
#3A103F #3F2210 #153F10 #102C3F
square
#3A103F #3F2210 #153F10 #102C3F
split-complementary
#3A103F #2C3F10 #103F22
monochromatic
#160618 #160618 #3A103F #671C70 #9429A1

Accessibility & contrast

On white

15.84
#3A103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A103F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A103F#FFFFFF#000000##FFFFFF
##3A103F1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F40
Deuteranopia (green-blind)
#17243E
Tritanopia (blue-blind)
#3B1725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a103f;
/* rgb */ color: rgb(58, 16, 63);
/* oklch */ color: oklch(26.6% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#725274',
    500: '#3a103f',
    950: '#000000',
  },
}
SCSS
$custom: #3a103f;
$custom-light: #725274;
$custom-dark: #000000;
JSON
{
  "hex": "#3a103f",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 293.617,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26564,
    "c": 0.09443,
    "h": 323.3
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#3A103F
secondary
#397932
accent
#E34556
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A103F

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

Preview Lab → · Contrast checker → · Palette generator →

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