#3C0440#3C0440

#3C0440 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.113 H 325.1°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#3C0440
RGBrgb(60, 4, 64)
HSLhsl(296, 88%, 13%)
HSVhsv(296, 94%, 25%)
CMYKcmyk(6.2%, 93.8%, 0%, 74.9%)
CIE-LABlab(12.08, 33.99, -23.09)
CIE-LCHlch(12.08, 41.09, 325.82°)
OKLaboklab(25.71% 0.0924 -0.0644)
OKLCHoklch(25.71% 0.113 325.1)
XYZxyz(2.8322, 1.4179, 4.9740)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0440 #084004
analogous
#1E0440 #3C0440 #400426
triadic
#3C0440 #403C04 #04403C
tetradic
#3C0440 #401E04 #084004 #042640
square
#3C0440 #401E04 #084004 #042640
split-complementary
#3C0440 #264004 #04401E
monochromatic
#1B021D #1B021D #3C0440 #72087A #A80BB3

Accessibility & contrast

On white

16.36
#3C0440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0440
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0440#FFFFFF#000000##FFFFFF
##3C04401.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#3E1023
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0440;
/* rgb */ color: rgb(60, 4, 64);
/* oklch */ color: oklch(25.7% 0.113 325.1);
Tailwind
colors: {
  custom: {
    50: '#744d75',
    500: '#3c0440',
    950: '#000000',
  },
}
SCSS
$custom: #3c0440;
$custom-light: #744d75;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0440",
  "rgb": {
    "r": 60,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 296,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25714,
    "c": 0.11265,
    "h": 325.1
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#3C0440
secondary
#25811F
accent
#FE2938
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0440

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

Preview Lab → · Contrast checker → · Palette generator →

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