#3C1B60#3C1B60

#3C1B60 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.117 H 301.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#3C1B60
RGBrgb(60, 27, 96)
HSLhsl(269, 56%, 24%)
HSVhsv(269, 72%, 38%)
CMYKcmyk(37.5%, 71.9%, 0%, 62.4%)
CIE-LABlab(18.32, 31.16, -34.91)
CIE-LCHlch(18.32, 46.79, 311.74°)
OKLaboklab(30.95% 0.0617 -0.0993)
OKLCHoklch(30.95% 0.117 301.8)
XYZxyz(4.3662, 2.5890, 11.3338)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1B60 #3F601B
analogous
#1B1C60 #3C1B60 #5F1B60
triadic
#3C1B60 #603C1B #1B603C
tetradic
#3C1B60 #601B1C #3F601B #1B605F
square
#3C1B60 #601B1C #3F601B #1B605F
split-complementary
#3C1B60 #605F1B #1C601B
monochromatic
#0F0718 #1E0E30 #3C1B60 #5A2890 #7836C0

Accessibility & contrast

On white

13.84
#3C1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1B60
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1B60#FFFFFF#000000##FFFFFF
##3C1B601.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#352B3B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1b60;
/* rgb */ color: rgb(60, 27, 96);
/* oklch */ color: oklch(30.9% 0.117 301.8);
Tailwind
colors: {
  custom: {
    50: '#755a8e',
    500: '#3c1b60',
    950: '#000000',
  },
}
SCSS
$custom: #3c1b60;
$custom-light: #755a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1b60",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 268.696,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3095,
    "c": 0.11693,
    "h": 301.8
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#3C1B60
secondary
#6D9641
accent
#DF4897
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3C1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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