#3C1052#3C1052

#3C1052 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.116 H 311.6°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#3C1052
RGBrgb(60, 16, 82)
HSLhsl(280, 67%, 19%)
HSVhsv(280, 80%, 32%)
CMYKcmyk(26.8%, 80.5%, 0%, 67.8%)
CIE-LABlab(15.17, 33.11, -30.60)
CIE-LCHlch(15.17, 45.09, 317.25°)
OKLaboklab(28.35% 0.0769 -0.0866)
OKLCHoklch(28.35% 0.116 311.6)
XYZxyz(3.5715, 1.9405, 8.1674)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1052 #265210
analogous
#1B1052 #3C1052 #521047
triadic
#3C1052 #523C10 #10523C
tetradic
#3C1052 #521B10 #265210 #104752
square
#3C1052 #521B10 #265210 #104752
split-complementary
#3C1052 #475210 #10521B
monochromatic
#13051A #17061F #3C1052 #611A85 #8724B8

Accessibility & contrast

On white

15.13
#3C1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1052
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1052#FFFFFF#000000##FFFFFF
##3C10521.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#391F30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c1052;
/* rgb */ color: rgb(60, 16, 82);
/* oklch */ color: oklch(28.3% 0.116 311.6);
Tailwind
colors: {
  custom: {
    50: '#755383',
    500: '#3c1052',
    950: '#000000',
  },
}
SCSS
$custom: #3c1052;
$custom-light: #755383;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1052",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28349,
    "c": 0.11581,
    "h": 311.6
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#3C1052
secondary
#508C32
accent
#EA3E77
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1052

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

Preview Lab → · Contrast checker → · Palette generator →

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