#3C104B#3C104B

#3C104B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.108 H 316.1°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#3C104B
RGBrgb(60, 16, 75)
HSLhsl(285, 65%, 18%)
HSVhsv(285, 79%, 29%)
CMYKcmyk(20%, 78.7%, 0%, 70.6%)
CIE-LABlab(14.62, 31.44, -26.69)
CIE-LCHlch(14.62, 41.24, 319.66°)
OKLaboklab(27.78% 0.0779 -0.0751)
OKLCHoklch(27.78% 0.108 316.1)
XYZxyz(3.3186, 1.8394, 6.8355)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C104B #1F4B10
analogous
#1F104B #3C104B #4B103C
triadic
#3C104B #4B3C10 #104B3C
tetradic
#3C104B #4B1F10 #1F4B10 #103C4B
square
#3C104B #4B1F10 #1F4B10 #103C4B
split-complementary
#3C104B #3C4B10 #104B1F
monochromatic
#140519 #140519 #3C104B #641B7D #8D26B0

Accessibility & contrast

On white

15.35
#3C104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C104B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C104B#FFFFFF#000000##FFFFFF
##3C104B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#3B1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c104b;
/* rgb */ color: rgb(60, 16, 75);
/* oklch */ color: oklch(27.8% 0.108 316.1);
Tailwind
colors: {
  custom: {
    50: '#74537e',
    500: '#3c104b',
    950: '#000000',
  },
}
SCSS
$custom: #3c104b;
$custom-light: #74537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c104b",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 284.746,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27782,
    "c": 0.10824,
    "h": 316.1
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#3C104B
secondary
#478532
accent
#E8406B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C104B

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

Preview Lab → · Contrast checker → · Palette generator →

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