#3C1261#3C1261

#3C1261 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 303.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#3C1261
RGBrgb(60, 18, 97)
HSLhsl(272, 69%, 23%)
HSVhsv(272, 81%, 38%)
CMYKcmyk(38.1%, 81.4%, 0%, 62%)
CIE-LABlab(16.78, 36.00, -38.08)
CIE-LCHlch(16.78, 52.40, 313.39°)
OKLaboklab(29.89% 0.0714 -0.1086)
OKLCHoklch(29.89% 0.13 303.3)
XYZxyz(4.2369, 2.2563, 11.5192)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1261 #376112
analogous
#151261 #3C1261 #61125E
triadic
#3C1261 #613C12 #12613C
tetradic
#3C1261 #611512 #376112 #125E61
square
#3C1261 #611512 #376112 #125E61
split-complementary
#3C1261 #5E6112 #126115
monochromatic
#10051A #1C082D #3C1261 #5C1C95 #7C25C8

Accessibility & contrast

On white

14.47
#3C1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1261
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1261#FFFFFF#000000##FFFFFF
##3C12611.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1261;
/* rgb */ color: rgb(60, 18, 97);
/* oklch */ color: oklch(29.9% 0.130 303.3);
Tailwind
colors: {
  custom: {
    50: '#76558f',
    500: '#3c1261',
    950: '#000000',
  },
}
SCSS
$custom: #3c1261;
$custom-light: #76558f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1261",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 271.899,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29886,
    "c": 0.12994,
    "h": 303.3
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#3C1261
secondary
#649936
accent
#EC3C8E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1261

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

Preview Lab → · Contrast checker → · Palette generator →

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