#3C0640#3C0640

#3C0640 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.110 H 325.0°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#3C0640
RGBrgb(60, 6, 64)
HSLhsl(296, 83%, 14%)
HSVhsv(296, 91%, 25%)
CMYKcmyk(6.2%, 90.6%, 0%, 74.9%)
CIE-LABlab(12.36, 33.17, -22.63)
CIE-LCHlch(12.36, 40.15, 325.69°)
OKLaboklab(25.91% 0.0901 -0.0631)
OKLCHoklch(25.91% 0.11 325)
XYZxyz(2.8539, 1.4613, 4.9812)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0640 #0A4006
analogous
#1F0640 #3C0640 #400627
triadic
#3C0640 #403C06 #06403C
tetradic
#3C0640 #401F06 #0A4006 #062740
square
#3C0640 #401F06 #0A4006 #062740
split-complementary
#3C0640 #274006 #06401F
monochromatic
#1A031C #1A031C #3C0640 #700B78 #A510B0

Accessibility & contrast

On white

16.25
#3C0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0640
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0640#FFFFFF#000000##FFFFFF
##3C06401.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#13223F
Tritanopia (blue-blind)
#3E1123
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0640;
/* rgb */ color: rgb(60, 6, 64);
/* oklch */ color: oklch(25.9% 0.110 325.0);
Tailwind
colors: {
  custom: {
    50: '#744e75',
    500: '#3c0640',
    950: '#000000',
  },
}
SCSS
$custom: #3c0640;
$custom-light: #744e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0640",
  "rgb": {
    "r": 60,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 295.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25914,
    "c": 0.11004,
    "h": 325
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#3C0640
secondary
#288022
accent
#F92F3D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0640

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

Preview Lab → · Contrast checker → · Palette generator →

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