#3C0346#3C0346

#3C0346 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.119 H 320.8°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#3C0346
RGBrgb(60, 3, 70)
HSLhsl(291, 92%, 14%)
HSVhsv(291, 96%, 27%)
CMYKcmyk(14.3%, 95.7%, 0%, 72.5%)
CIE-LABlab(12.40, 35.61, -26.79)
CIE-LCHlch(12.40, 44.56, 323.04°)
OKLaboklab(26.09% 0.0925 -0.0753)
OKLCHoklch(26.09% 0.119 320.8)
XYZxyz(3.0014, 1.4682, 5.9185)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0346 #0D4603
analogous
#1B0346 #3C0346 #46032F
triadic
#3C0346 #463C03 #03463C
tetradic
#3C0346 #461B03 #0D4603 #032F46
square
#3C0346 #461B03 #0D4603 #032F46
split-complementary
#3C0346 #2F4603 #03461B
monochromatic
#19011D #19011D #3C0346 #6E0681 #A108BB

Accessibility & contrast

On white

16.23
#3C0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3C0346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0346
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0346#FFFFFF#000000##FFFFFF
##3C03461.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#3C1326
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0346;
/* rgb */ color: rgb(60, 3, 70);
/* oklch */ color: oklch(26.1% 0.119 320.8);
Tailwind
colors: {
  custom: {
    50: '#754d7a',
    500: '#3c0346',
    950: '#000000',
  },
}
SCSS
$custom: #3c0346;
$custom-light: #754d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0346",
  "rgb": {
    "r": 60,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 291.045,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26093,
    "c": 0.11923,
    "h": 320.8
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#3C0346
secondary
#2D871D
accent
#FF2949
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0346

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

Preview Lab → · Contrast checker → · Palette generator →

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