#3C0747#3C0747

#3C0747 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.115 H 319.8°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#3C0747
RGBrgb(60, 7, 71)
HSLhsl(290, 82%, 15%)
HSVhsv(290, 90%, 28%)
CMYKcmyk(15.5%, 90.1%, 0%, 72.2%)
CIE-LABlab(13.03, 34.21, -26.48)
CIE-LCHlch(13.03, 43.26, 322.26°)
OKLaboklab(26.56% 0.088 -0.0744)
OKLCHoklch(26.56% 0.115 319.8)
XYZxyz(3.0766, 1.5677, 6.1006)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0747 #124707
analogous
#1C0747 #3C0747 #470732
triadic
#3C0747 #473C07 #07473C
tetradic
#3C0747 #471C07 #124707 #073247
square
#3C0747 #471C07 #124707 #073247
split-complementary
#3C0747 #324707 #07471C
monochromatic
#18031C #18031C #3C0747 #6B0C7F #9A12B6

Accessibility & contrast

On white

15.99
#3C0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0747
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0747#FFFFFF#000000##FFFFFF
##3C07471.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#0D2346
Tritanopia (blue-blind)
#3C1528
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0747;
/* rgb */ color: rgb(60, 7, 71);
/* oklch */ color: oklch(26.6% 0.115 319.8);
Tailwind
colors: {
  custom: {
    50: '#754f7b',
    500: '#3c0747',
    950: '#000000',
  },
}
SCSS
$custom: #3c0747;
$custom-light: #754f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0747",
  "rgb": {
    "r": 60,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 289.688,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26559,
    "c": 0.11526,
    "h": 319.8
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#3C0747
secondary
#358624
accent
#F82F52
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3C0747

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

Preview Lab → · Contrast checker → · Palette generator →

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