#3C0F4D#3C0F4D

#3C0F4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.112 H 314.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3C0F4D
RGBrgb(60, 15, 77)
HSLhsl(284, 67%, 18%)
HSVhsv(284, 81%, 30%)
CMYKcmyk(22.1%, 80.5%, 0%, 69.8%)
CIE-LABlab(14.61, 32.36, -28.08)
CIE-LCHlch(14.61, 42.85, 319.05°)
OKLaboklab(27.83% 0.0788 -0.0792)
OKLCHoklch(27.83% 0.112 314.9)
XYZxyz(3.3736, 1.8382, 7.1968)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F4D #204D0F
analogous
#1D0F4D #3C0F4D #4D0F3F
triadic
#3C0F4D #4D3C0F #0F4D3C
tetradic
#3C0F4D #4D1D0F #204D0F #0F3F4D
square
#3C0F4D #4D1D0F #204D0F #0F3F4D
split-complementary
#3C0F4D #3F4D0F #0F4D1D
monochromatic
#14051A #14051A #3C0F4D #641980 #8C23B3

Accessibility & contrast

On white

15.36
#3C0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3C0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F4D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F4D#FFFFFF#000000##FFFFFF
##3C0F4D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#3B1C2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0f4d;
/* rgb */ color: rgb(60, 15, 77);
/* oklch */ color: oklch(27.8% 0.112 314.9);
Tailwind
colors: {
  custom: {
    50: '#74537f',
    500: '#3c0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f4d;
$custom-light: #74537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f4d",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 283.548,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27827,
    "c": 0.11173,
    "h": 314.9
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#3C0F4D
secondary
#488731
accent
#EA3E6D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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