#3C1076#3C1076

#3C1076 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.155 H 295.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#3C1076
RGBrgb(60, 16, 118)
HSLhsl(266, 76%, 26%)
HSVhsv(266, 86%, 46%)
CMYKcmyk(49.2%, 86.4%, 0%, 53.7%)
CIE-LABlab(18.54, 42.37, -48.91)
CIE-LCHlch(18.54, 64.72, 310.90°)
OKLaboklab(31.73% 0.066 -0.1403)
OKLCHoklch(31.73% 0.155 295.2)
XYZxyz(5.3179, 2.6391, 17.3652)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1076 #4A7610
analogous
#101776 #3C1076 #6F1076
triadic
#3C1076 #763C10 #10763C
tetradic
#3C1076 #761017 #4A7610 #10766F
square
#3C1076 #761017 #4A7610 #10766F
split-complementary
#3C1076 #766F10 #177610
monochromatic
#0E041B #210940 #3C1076 #5717AC #7320E1

Accessibility & contrast

On white

13.75
#3C1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1076
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1076#FFFFFF#000000##FFFFFF
##3C10761.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1076;
/* rgb */ color: rgb(60, 16, 118);
/* oklch */ color: oklch(31.7% 0.155 295.2);
Tailwind
colors: {
  custom: {
    50: '#79569e',
    500: '#3c1076',
    950: '#000000',
  },
}
SCSS
$custom: #3c1076;
$custom-light: #79569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1076",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 265.882,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31733,
    "c": 0.1551,
    "h": 295.2
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#3C1076
secondary
#79AD35
accent
#F335A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1076

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

Preview Lab → · Contrast checker → · Palette generator →

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