#3C0F4E#3C0F4E

#3C0F4E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.113 H 314.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3C0F4E
RGBrgb(60, 15, 78)
HSLhsl(283, 68%, 18%)
HSVhsv(283, 81%, 31%)
CMYKcmyk(23.1%, 80.8%, 0%, 69.4%)
CIE-LABlab(14.69, 32.60, -28.64)
CIE-LCHlch(14.69, 43.39, 318.70°)
OKLaboklab(27.91% 0.0787 -0.0808)
OKLCHoklch(27.91% 0.113 314.2)
XYZxyz(3.4092, 1.8525, 7.3842)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F4E #214E0F
analogous
#1C0F4E #3C0F4E #4E0F40
triadic
#3C0F4E #4E3C0F #0F4E3C
tetradic
#3C0F4E #4E1C0F #214E0F #0F404E
square
#3C0F4E #4E1C0F #214E0F #0F404E
split-complementary
#3C0F4E #404E0F #0F4E1C
monochromatic
#14051A #15051B #3C0F4E #631981 #8B23B5

Accessibility & contrast

On white

15.32
#3C0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F4E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F4E#FFFFFF#000000##FFFFFF
##3C0F4E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0B264D
Tritanopia (blue-blind)
#3A1D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0f4e;
/* rgb */ color: rgb(60, 15, 78);
/* oklch */ color: oklch(27.9% 0.113 314.2);
Tailwind
colors: {
  custom: {
    50: '#745380',
    500: '#3c0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f4e;
$custom-light: #745380;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f4e",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 282.857,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27908,
    "c": 0.1128,
    "h": 314.2
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#3C0F4E
secondary
#4A8831
accent
#EB3D6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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