#3C104C#3C104C

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

Color values

HEX#3C104C
RGBrgb(60, 16, 76)
HSLhsl(284, 65%, 18%)
HSVhsv(284, 79%, 30%)
CMYKcmyk(21.1%, 78.9%, 0%, 70.2%)
CIE-LABlab(14.70, 31.67, -27.26)
CIE-LCHlch(14.70, 41.79, 319.28°)
OKLaboklab(27.86% 0.0778 -0.0768)
OKLCHoklch(27.86% 0.109 315.4)
XYZxyz(3.3531, 1.8532, 7.0171)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C104C #204C10
analogous
#1E104C #3C104C #4C103E
triadic
#3C104C #4C3C10 #104C3C
tetradic
#3C104C #4C1E10 #204C10 #103E4C
square
#3C104C #4C1E10 #204C10 #103E4C
split-complementary
#3C104C #3E4C10 #104C1E
monochromatic
#140519 #140519 #3C104C #641B7F #8C25B1

Accessibility & contrast

On white

15.32
#3C104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C104C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C104C#FFFFFF#000000##FFFFFF
##3C104C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c104c;
/* rgb */ color: rgb(60, 16, 76);
/* oklch */ color: oklch(27.9% 0.109 315.4);
Tailwind
colors: {
  custom: {
    50: '#74537e',
    500: '#3c104c',
    950: '#000000',
  },
}
SCSS
$custom: #3c104c;
$custom-light: #74537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c104c",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 284,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27861,
    "c": 0.10931,
    "h": 315.4
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#3C104C
secondary
#488632
accent
#E8406D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C104C

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

Preview Lab → · Contrast checker → · Palette generator →

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