#3C0F5C#3C0F5C

#3C0F5C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.128 H 306.3°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#3C0F5C
RGBrgb(60, 15, 92)
HSLhsl(275, 72%, 21%)
HSVhsv(275, 84%, 36%)
CMYKcmyk(34.8%, 83.7%, 0%, 63.9%)
CIE-LABlab(15.88, 36.02, -36.21)
CIE-LCHlch(15.88, 51.08, 314.85°)
OKLaboklab(29.11% 0.0756 -0.1031)
OKLCHoklch(29.11% 0.128 306.3)
XYZxyz(3.9656, 2.0751, 10.3147)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F5C #2F5C0F
analogous
#150F5C #3C0F5C #5C0F55
triadic
#3C0F5C #5C3C0F #0F5C3C
tetradic
#3C0F5C #5C150F #2F5C0F #0F555C
square
#3C0F5C #5C150F #2F5C0F #0F555C
split-complementary
#3C0F5C #555C0F #0F5C15
monochromatic
#11041A #1A0627 #3C0F5C #5E1891 #8120C5

Accessibility & contrast

On white

14.84
#3C0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C0F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F5C
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F5C#FFFFFF#000000##FFFFFF
##3C0F5C1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#362335
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0f5c;
/* rgb */ color: rgb(60, 15, 92);
/* oklch */ color: oklch(29.1% 0.128 306.3);
Tailwind
colors: {
  custom: {
    50: '#76538b',
    500: '#3c0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f5c;
$custom-light: #76538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f5c",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 275.065,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29113,
    "c": 0.12784,
    "h": 306.3
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#3C0F5C
secondary
#5B9531
accent
#EF3985
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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