#3C0F76#3C0F76

#3C0F76 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.156 H 295.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3C0F76
RGBrgb(60, 15, 118)
HSLhsl(266, 77%, 26%)
HSVhsv(266, 87%, 46%)
CMYKcmyk(49.2%, 87.3%, 0%, 53.7%)
CIE-LABlab(18.41, 42.74, -49.12)
CIE-LCHlch(18.41, 65.12, 311.03°)
OKLaboklab(31.65% 0.0667 -0.1409)
OKLCHoklch(31.65% 0.156 295.3)
XYZxyz(5.3034, 2.6102, 17.3604)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F76 #49760F
analogous
#0F1576 #3C0F76 #6F0F76
triadic
#3C0F76 #763C0F #0F763C
tetradic
#3C0F76 #760F15 #49760F #0F766F
square
#3C0F76 #760F15 #49760F #0F766F
split-complementary
#3C0F76 #766F0F #15760F
monochromatic
#0E031B #200840 #3C0F76 #5816AC #731DE2

Accessibility & contrast

On white

13.80
#3C0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F76
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F76#FFFFFF#000000##FFFFFF
##3C0F761.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#2B2E44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c0f76;
/* rgb */ color: rgb(60, 15, 118);
/* oklch */ color: oklch(31.6% 0.156 295.3);
Tailwind
colors: {
  custom: {
    50: '#79559e',
    500: '#3c0f76',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f76;
$custom-light: #79559e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f76",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 266.214,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31645,
    "c": 0.15592,
    "h": 295.3
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#3C0F76
secondary
#78AD33
accent
#F434A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030F
muted
#7C787E

Preview Lab

Preview with #3C0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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