#3C0F45#3C0F45

#3C0F45 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.103 H 320.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#3C0F45
RGBrgb(60, 15, 69)
HSLhsl(290, 64%, 16%)
HSVhsv(290, 78%, 27%)
CMYKcmyk(13%, 78.3%, 0%, 72.9%)
CIE-LABlab(14.01, 30.53, -23.50)
CIE-LCHlch(14.01, 38.53, 322.41°)
OKLaboklab(27.21% 0.0797 -0.0658)
OKLCHoklch(27.21% 0.103 320.5)
XYZxyz(3.1084, 1.7321, 5.7997)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F45 #18450F
analogous
#210F45 #3C0F45 #450F33
triadic
#3C0F45 #453C0F #0F453C
tetradic
#3C0F45 #45210F #18450F #0F3345
square
#3C0F45 #45210F #18450F #0F3345
split-complementary
#3C0F45 #33450F #0F4521
monochromatic
#160519 #160519 #3C0F45 #681A77 #9325AA

Accessibility & contrast

On white

15.60
#3C0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3C0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F45
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F45#FFFFFF#000000##FFFFFF
##3C0F451.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#142544
Tritanopia (blue-blind)
#3C1928
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0f45;
/* rgb */ color: rgb(60, 15, 69);
/* oklch */ color: oklch(27.2% 0.103 320.5);
Tailwind
colors: {
  custom: {
    50: '#745279',
    500: '#3c0f45',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f45;
$custom-light: #745279;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f45",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 290,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27207,
    "c": 0.1033,
    "h": 320.5
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#3C0F45
secondary
#3E7F30
accent
#E7415C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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