#3C0340#3C0340

#3C0340 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.114 H 325.2°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#3C0340
RGBrgb(60, 3, 64)
HSLhsl(296, 91%, 13%)
HSVhsv(296, 95%, 25%)
CMYKcmyk(6.2%, 95.3%, 0%, 74.9%)
CIE-LABlab(11.93, 34.42, -23.32)
CIE-LCHlch(11.93, 41.58, 325.88°)
OKLaboklab(25.61% 0.0936 -0.0651)
OKLCHoklch(25.61% 0.114 325.2)
XYZxyz(2.8214, 1.3961, 4.9704)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0340 #074003
analogous
#1D0340 #3C0340 #400325
triadic
#3C0340 #403C03 #03403C
tetradic
#3C0340 #401D03 #074003 #032540
square
#3C0340 #401D03 #074003 #032540
split-complementary
#3C0340 #254003 #03401D
monochromatic
#1B011D #1B011D #3C0340 #73067A #AA08B5

Accessibility & contrast

On white

16.42
#3C0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3C0340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0340
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0340#FFFFFF#000000##FFFFFF
##3C03401.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#3E0F23
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3c0340;
/* rgb */ color: rgb(60, 3, 64);
/* oklch */ color: oklch(25.6% 0.114 325.2);
Tailwind
colors: {
  custom: {
    50: '#754d75',
    500: '#3c0340',
    950: '#000000',
  },
}
SCSS
$custom: #3c0340;
$custom-light: #754d75;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0340",
  "rgb": {
    "r": 60,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 296.066,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25612,
    "c": 0.11399,
    "h": 325.2
  },
  "luminance": 0.01396
}

Semantic roles & 50–950 ramp

primary
#3C0340
secondary
#23821D
accent
#FF2937
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3C0340

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

Preview Lab → · Contrast checker → · Palette generator →

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