#3C1081#3C1081

#3C1081 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.167 H 291.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#3C1081
RGBrgb(60, 16, 129)
HSLhsl(263, 78%, 28%)
HSVhsv(263, 88%, 51%)
CMYKcmyk(53.5%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.70, 45.30, -54.01)
CIE-LCHlch(19.70, 70.50, 309.99°)
OKLaboklab(32.89% 0.0617 -0.1552)
OKLCHoklch(32.89% 0.167 291.7)
XYZxyz(6.0101, 2.9160, 21.0108)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1081 #558110
analogous
#101C81 #3C1081 #741081
triadic
#3C1081 #813C10 #10813C
tetradic
#3C1081 #81101C #558110 #108174
square
#3C1081 #81101C #558110 #108174
split-complementary
#3C1081 #817410 #1C8110
monochromatic
#0D031B #23094B #3C1081 #5517B7 #7127E4

Accessibility & contrast

On white

13.26
#3C1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1081
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1081#FFFFFF#000000##FFFFFF
##3C10811.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#23334B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1081;
/* rgb */ color: rgb(60, 16, 129);
/* oklch */ color: oklch(32.9% 0.167 291.7);
Tailwind
colors: {
  custom: {
    50: '#7b56a7',
    500: '#3c1081',
    950: '#000000',
  },
}
SCSS
$custom: #3c1081;
$custom-light: #7b56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1081",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 263.363,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.16704,
    "h": 291.7
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#3C1081
secondary
#85B736
accent
#F433A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #3C1081

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

Preview Lab → · Contrast checker → · Palette generator →

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