#3C104D#3C104D

#3C104D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.110 H 314.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3C104D
RGBrgb(60, 16, 77)
HSLhsl(283, 66%, 18%)
HSVhsv(283, 79%, 30%)
CMYKcmyk(22.1%, 79.2%, 0%, 69.8%)
CIE-LABlab(14.77, 31.91, -27.82)
CIE-LCHlch(14.77, 42.33, 318.91°)
OKLaboklab(27.94% 0.0777 -0.0784)
OKLCHoklch(27.94% 0.11 314.7)
XYZxyz(3.3881, 1.8672, 7.2017)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C104D #214D10
analogous
#1D104D #3C104D #4D103F
triadic
#3C104D #4D3C10 #104D3C
tetradic
#3C104D #4D1D10 #214D10 #103F4D
square
#3C104D #4D1D10 #214D10 #103F4D
split-complementary
#3C104D #3F4D10 #104D1D
monochromatic
#140519 #15051A #3C104D #631B80 #8B25B2

Accessibility & contrast

On white

15.29
#3C104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3C104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C104D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C104D#FFFFFF#000000##FFFFFF
##3C104D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0D264C
Tritanopia (blue-blind)
#3B1D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c104d;
/* rgb */ color: rgb(60, 16, 77);
/* oklch */ color: oklch(27.9% 0.110 314.7);
Tailwind
colors: {
  custom: {
    50: '#74537f',
    500: '#3c104d',
    950: '#000000',
  },
}
SCSS
$custom: #3c104d;
$custom-light: #74537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c104d",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 283.279,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2794,
    "c": 0.11039,
    "h": 314.7
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#3C104D
secondary
#4A8732
accent
#E93F6E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C104D

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

Preview Lab → · Contrast checker → · Palette generator →

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