#3A103E#3A103E

#3A103E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.093 H 324.2°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#3A103E
RGBrgb(58, 16, 62)
HSLhsl(295, 59%, 15%)
HSVhsv(295, 74%, 24%)
CMYKcmyk(6.5%, 74.2%, 0%, 75.7%)
CIE-LABlab(13.34, 27.95, -19.68)
CIE-LCHlch(13.34, 34.18, 324.85°)
OKLaboklab(26.49% 0.0757 -0.0547)
OKLCHoklch(26.49% 0.093 324.2)
XYZxyz(2.7996, 1.6181, 4.7214)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A103E #143E10
analogous
#23103E #3A103E #3E102B
triadic
#3A103E #3E3A10 #103E3A
tetradic
#3A103E #3E2310 #143E10 #102B3E
square
#3A103E #3E2310 #143E10 #102B3E
split-complementary
#3A103E #2B3E10 #103E23
monochromatic
#170618 #170618 #3A103E #681D6F #95299F

Accessibility & contrast

On white

15.87
#3A103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A103E
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A103E#FFFFFF#000000##FFFFFF
##3A103E1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3F
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#3B1725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3a103e;
/* rgb */ color: rgb(58, 16, 62);
/* oklch */ color: oklch(26.5% 0.093 324.2);
Tailwind
colors: {
  custom: {
    50: '#725273',
    500: '#3a103e',
    950: '#000000',
  },
}
SCSS
$custom: #3a103e;
$custom-light: #725273;
$custom-dark: #000000;
JSON
{
  "hex": "#3a103e",
  "rgb": {
    "r": 58,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 294.783,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26494,
    "c": 0.09337,
    "h": 324.2
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#3A103E
secondary
#387832
accent
#E24653
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A103E

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

Preview Lab → · Contrast checker → · Palette generator →

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