#3C104E#3C104E

#3C104E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.111 H 314.1°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3C104E
RGBrgb(60, 16, 78)
HSLhsl(283, 66%, 18%)
HSVhsv(283, 79%, 31%)
CMYKcmyk(23.1%, 79.5%, 0%, 69.4%)
CIE-LABlab(14.85, 32.15, -28.38)
CIE-LCHlch(14.85, 42.88, 318.56°)
OKLaboklab(28.02% 0.0776 -0.0801)
OKLCHoklch(28.02% 0.111 314.1)
XYZxyz(3.4237, 1.8814, 7.3891)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C104E #224E10
analogous
#1D104E #3C104E #4E1041
triadic
#3C104E #4E3C10 #104E3C
tetradic
#3C104E #4E1D10 #224E10 #10414E
square
#3C104E #4E1D10 #224E10 #10414E
split-complementary
#3C104E #414E10 #104E1D
monochromatic
#140519 #15061B #3C104E #631A81 #8A25B4

Accessibility & contrast

On white

15.26
#3C104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C104E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C104E#FFFFFF#000000##FFFFFF
##3C104E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0C264D
Tritanopia (blue-blind)
#3A1D2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c104e;
/* rgb */ color: rgb(60, 16, 78);
/* oklch */ color: oklch(28.0% 0.111 314.1);
Tailwind
colors: {
  custom: {
    50: '#745380',
    500: '#3c104e',
    950: '#000000',
  },
}
SCSS
$custom: #3c104e;
$custom-light: #745380;
$custom-dark: #000000;
JSON
{
  "hex": "#3c104e",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 282.581,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28021,
    "c": 0.11148,
    "h": 314.1
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#3C104E
secondary
#4B8832
accent
#E93F70
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C104E

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

Preview Lab → · Contrast checker → · Palette generator →

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