#3C1071#3C1071

#3C1071 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.150 H 297.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#3C1071
RGBrgb(60, 16, 113)
HSLhsl(267, 75%, 25%)
HSVhsv(267, 86%, 44%)
CMYKcmyk(46.9%, 85.8%, 0%, 55.7%)
CIE-LABlab(18.02, 41.05, -46.53)
CIE-LCHlch(18.02, 62.05, 311.42°)
OKLaboklab(31.22% 0.0679 -0.1333)
OKLCHoklch(31.22% 0.15 297)
XYZxyz(5.0286, 2.5234, 15.8417)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1071 #457110
analogous
#101571 #3C1071 #6C1071
triadic
#3C1071 #713C10 #10713C
tetradic
#3C1071 #711015 #457110 #10716C
square
#3C1071 #711015 #457110 #10716C
split-complementary
#3C1071 #716C10 #157110
monochromatic
#0E041B #20083B #3C1071 #5818A7 #751FDC

Accessibility & contrast

On white

13.96
#3C1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3C1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1071
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1071#FFFFFF#000000##FFFFFF
##3C10711.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#2E2C42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1071;
/* rgb */ color: rgb(60, 16, 113);
/* oklch */ color: oklch(31.2% 0.150 297.0);
Tailwind
colors: {
  custom: {
    50: '#78559b',
    500: '#3c1071',
    950: '#000000',
  },
}
SCSS
$custom: #3c1071;
$custom-light: #78559b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1071",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 267.216,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.14965,
    "h": 297
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#3C1071
secondary
#74A934
accent
#F2369D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1071

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

Preview Lab → · Contrast checker → · Palette generator →

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