#3C0F4C#3C0F4C

#3C0F4C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.111 H 315.5°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#3C0F4C
RGBrgb(60, 15, 76)
HSLhsl(284, 67%, 18%)
HSVhsv(284, 80%, 30%)
CMYKcmyk(21.1%, 80.3%, 0%, 70.2%)
CIE-LABlab(14.54, 32.13, -27.52)
CIE-LCHlch(14.54, 42.30, 319.42°)
OKLaboklab(27.75% 0.079 -0.0775)
OKLCHoklch(27.75% 0.111 315.5)
XYZxyz(3.3386, 1.8242, 7.0123)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F4C #1F4C0F
analogous
#1D0F4C #3C0F4C #4C0F3D
triadic
#3C0F4C #4C3C0F #0F4C3C
tetradic
#3C0F4C #4C1D0F #1F4C0F #0F3D4C
square
#3C0F4C #4C1D0F #1F4C0F #0F3D4C
split-complementary
#3C0F4C #3D4C0F #0F4C1D
monochromatic
#14051A #14051A #3C0F4C #64197F #8D23B2

Accessibility & contrast

On white

15.39
#3C0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F4C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F4C#FFFFFF#000000##FFFFFF
##3C0F4C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#3B1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0f4c;
/* rgb */ color: rgb(60, 15, 76);
/* oklch */ color: oklch(27.7% 0.111 315.5);
Tailwind
colors: {
  custom: {
    50: '#74527e',
    500: '#3c0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f4c;
$custom-light: #74527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f4c",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 284.262,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27747,
    "c": 0.11067,
    "h": 315.5
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#3C0F4C
secondary
#478631
accent
#EA3E6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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