#3C1161#3C1161

#3C1161 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.131 H 303.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3C1161
RGBrgb(60, 17, 97)
HSLhsl(272, 70%, 22%)
HSVhsv(272, 82%, 38%)
CMYKcmyk(38.1%, 82.5%, 0%, 62%)
CIE-LABlab(16.62, 36.44, -38.33)
CIE-LCHlch(16.62, 52.89, 313.56°)
OKLaboklab(29.78% 0.0724 -0.1093)
OKLCHoklch(29.78% 0.131 303.5)
XYZxyz(4.2211, 2.2246, 11.5140)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1161 #366111
analogous
#141161 #3C1161 #61115E
triadic
#3C1161 #613C11 #11613C
tetradic
#3C1161 #611411 #366111 #115E61
square
#3C1161 #611411 #366111 #115E61
split-complementary
#3C1161 #5E6111 #116114
monochromatic
#10051A #1C082D #3C1161 #5C1A95 #7C23C9

Accessibility & contrast

On white

14.53
#3C1161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C1161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1161
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1161#FFFFFF#000000##FFFFFF
##3C11611.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#342639
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1161;
/* rgb */ color: rgb(60, 17, 97);
/* oklch */ color: oklch(29.8% 0.131 303.5);
Tailwind
colors: {
  custom: {
    50: '#76558f',
    500: '#3c1161',
    950: '#000000',
  },
}
SCSS
$custom: #3c1161;
$custom-light: #76558f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1161",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 272.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29778,
    "c": 0.13109,
    "h": 303.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#3C1161
secondary
#639934
accent
#ED3B8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1161

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

Preview Lab → · Contrast checker → · Palette generator →

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