#3C0F4F#3C0F4F

#3C0F4F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.114 H 313.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3C0F4F
RGBrgb(60, 15, 79)
HSLhsl(282, 68%, 18%)
HSVhsv(282, 81%, 31%)
CMYKcmyk(24.1%, 81%, 0%, 69%)
CIE-LABlab(14.77, 32.83, -29.20)
CIE-LCHlch(14.77, 43.94, 318.35°)
OKLaboklab(27.99% 0.0785 -0.0824)
OKLCHoklch(27.99% 0.114 313.6)
XYZxyz(3.4453, 1.8669, 7.5745)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F4F #224F0F
analogous
#1C0F4F #3C0F4F #4F0F42
triadic
#3C0F4F #4F3C0F #0F4F3C
tetradic
#3C0F4F #4F1C0F #224F0F #0F424F
square
#3C0F4F #4F1C0F #224F0F #0F424F
split-complementary
#3C0F4F #424F0F #0F4F1C
monochromatic
#14051A #15051C #3C0F4F #631982 #8A23B6

Accessibility & contrast

On white

15.29
#3C0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F4F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F4F#FFFFFF#000000##FFFFFF
##3C0F4F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0A264E
Tritanopia (blue-blind)
#3A1D2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0f4f;
/* rgb */ color: rgb(60, 15, 79);
/* oklch */ color: oklch(28.0% 0.114 313.6);
Tailwind
colors: {
  custom: {
    50: '#755381',
    500: '#3c0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f4f;
$custom-light: #755381;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f4f",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 282.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.11386,
    "h": 313.6
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#3C0F4F
secondary
#4B8931
accent
#EB3D71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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