#3C1352#3C1352

#3C1352 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.112 H 311.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3C1352
RGBrgb(60, 19, 82)
HSLhsl(279, 62%, 20%)
HSVhsv(279, 77%, 32%)
CMYKcmyk(26.8%, 76.8%, 0%, 67.8%)
CIE-LABlab(15.67, 31.69, -29.79)
CIE-LCHlch(15.67, 43.49, 316.77°)
OKLaboklab(28.71% 0.0735 -0.0842)
OKLCHoklch(28.71% 0.112 311.1)
XYZxyz(3.6191, 2.0357, 8.1833)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1352 #295213
analogous
#1D1352 #3C1352 #521348
triadic
#3C1352 #523C13 #13523C
tetradic
#3C1352 #521D13 #295213 #134852
square
#3C1352 #521D13 #295213 #134852
split-complementary
#3C1352 #485213 #13521D
monochromatic
#120619 #180720 #3C1352 #601F84 #852AB5

Accessibility & contrast

On white

14.92
#3C1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1352
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1352#FFFFFF#000000##FFFFFF
##3C13521.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#0A2851
Tritanopia (blue-blind)
#392131
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1352;
/* rgb */ color: rgb(60, 19, 82);
/* oklch */ color: oklch(28.7% 0.112 311.1);
Tailwind
colors: {
  custom: {
    50: '#755583',
    500: '#3c1352',
    950: '#000000',
  },
}
SCSS
$custom: #3c1352;
$custom-light: #755583;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1352",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 279.048,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28705,
    "c": 0.11176,
    "h": 311.1
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#3C1352
secondary
#548A36
accent
#E5427B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C1352

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

Preview Lab → · Contrast checker → · Palette generator →

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