#3C0F4A#3C0F4A

#3C0F4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.109 H 316.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#3C0F4A
RGBrgb(60, 15, 74)
HSLhsl(286, 66%, 17%)
HSVhsv(286, 80%, 29%)
CMYKcmyk(18.9%, 79.7%, 0%, 71%)
CIE-LABlab(14.38, 31.66, -26.38)
CIE-LCHlch(14.38, 41.21, 320.19°)
OKLaboklab(27.59% 0.0792 -0.0742)
OKLCHoklch(27.59% 0.109 316.9)
XYZxyz(3.2701, 1.7969, 6.6518)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F4A #1D4A0F
analogous
#1F0F4A #3C0F4A #4A0F3A
triadic
#3C0F4A #4A3C0F #0F4A3C
tetradic
#3C0F4A #4A1F0F #1D4A0F #0F3A4A
square
#3C0F4A #4A1F0F #1D4A0F #0F3A4A
split-complementary
#3C0F4A #3A4A0F #0F4A1F
monochromatic
#150519 #150519 #3C0F4A #65197D #8F24B0

Accessibility & contrast

On white

15.45
#3C0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3C0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F4A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F4A#FFFFFF#000000##FFFFFF
##3C0F4A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#102649
Tritanopia (blue-blind)
#3B1B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0f4a;
/* rgb */ color: rgb(60, 15, 74);
/* oklch */ color: oklch(27.6% 0.109 316.9);
Tailwind
colors: {
  custom: {
    50: '#74527d',
    500: '#3c0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f4a;
$custom-light: #74527d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f4a",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 285.763,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27588,
    "c": 0.10855,
    "h": 316.9
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#3C0F4A
secondary
#448430
accent
#E93F67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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