#3C0742#3C0742

#3C0742 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.111 H 323.4°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#3C0742
RGBrgb(60, 7, 66)
HSLhsl(294, 81%, 14%)
HSVhsv(294, 89%, 26%)
CMYKcmyk(9.1%, 89.4%, 0%, 74.1%)
CIE-LABlab(12.65, 33.17, -23.59)
CIE-LCHlch(12.65, 40.70, 324.58°)
OKLaboklab(26.16% 0.0888 -0.0659)
OKLCHoklch(26.16% 0.111 323.4)
XYZxyz(2.9227, 1.5061, 5.2900)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0742 #0D4207
analogous
#1F0742 #3C0742 #42072B
triadic
#3C0742 #423C07 #07423C
tetradic
#3C0742 #421F07 #0D4207 #072B42
square
#3C0742 #421F07 #0D4207 #072B42
split-complementary
#3C0742 #2B4207 #07421F
monochromatic
#19031C #19031C #3C0742 #6E0D79 #A113B1

Accessibility & contrast

On white

16.14
#3C0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3C0742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0742
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0742#FFFFFF#000000##FFFFFF
##3C07421.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#122341
Tritanopia (blue-blind)
#3D1325
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0742;
/* rgb */ color: rgb(60, 7, 66);
/* oklch */ color: oklch(26.2% 0.111 323.4);
Tailwind
colors: {
  custom: {
    50: '#744e77',
    500: '#3c0742',
    950: '#000000',
  },
}
SCSS
$custom: #3c0742;
$custom-light: #744e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0742",
  "rgb": {
    "r": 60,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 293.898,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26164,
    "c": 0.11059,
    "h": 323.4
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#3C0742
secondary
#2D8124
accent
#F73145
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0742

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

Preview Lab → · Contrast checker → · Palette generator →

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