#3C0F48#3C0F48

#3C0F48 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.106 H 318.3°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#3C0F48
RGBrgb(60, 15, 72)
HSLhsl(287, 66%, 17%)
HSVhsv(287, 79%, 28%)
CMYKcmyk(16.7%, 79.2%, 0%, 71.8%)
CIE-LABlab(14.23, 31.20, -25.24)
CIE-LCHlch(14.23, 40.13, 321.03°)
OKLaboklab(27.43% 0.0794 -0.0708)
OKLCHoklch(27.43% 0.106 318.3)
XYZxyz(3.2038, 1.7703, 6.3026)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F48 #1B480F
analogous
#1F0F48 #3C0F48 #480F38
triadic
#3C0F48 #483C0F #0F483C
tetradic
#3C0F48 #481F0F #1B480F #0F3848
square
#3C0F48 #481F0F #1B480F #0F3848
split-complementary
#3C0F48 #38480F #0F481F
monochromatic
#150519 #150519 #3C0F48 #661A7B #9024AD

Accessibility & contrast

On white

15.51
#3C0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F48
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F48#FFFFFF#000000##FFFFFF
##3C0F481.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#122647
Tritanopia (blue-blind)
#3C1A2A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0f48;
/* rgb */ color: rgb(60, 15, 72);
/* oklch */ color: oklch(27.4% 0.106 318.3);
Tailwind
colors: {
  custom: {
    50: '#74527b',
    500: '#3c0f48',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f48;
$custom-light: #74527b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f48",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 287.368,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27433,
    "c": 0.10644,
    "h": 318.3
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#3C0F48
secondary
#428230
accent
#E83F63
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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