#3C1B89#3C1B89

#3C1B89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.167 H 288.0°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#3C1B89
RGBrgb(60, 27, 137)
HSLhsl(258, 67%, 32%)
HSVhsv(258, 80%, 54%)
CMYKcmyk(56.2%, 80.3%, 0%, 46.3%)
CIE-LABlab(22.13, 42.92, -55.06)
CIE-LCHlch(22.13, 69.82, 307.94°)
OKLaboklab(34.81% 0.0516 -0.1584)
OKLCHoklch(34.81% 0.167 288)
XYZxyz(6.7694, 3.5503, 23.9906)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1B89 #68891B
analogous
#1B3189 #3C1B89 #731B89
triadic
#3C1B89 #893C1B #1B893C
tetradic
#3C1B89 #891B31 #68891B #1B8973
square
#3C1B89 #891B31 #68891B #1B8973
split-complementary
#3C1B89 #89731B #31891B
monochromatic
#0F0723 #261156 #3C1B89 #5225BC #7144DA

Accessibility & contrast

On white

12.28
#3C1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3C1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1B89
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1B89#FFFFFF#000000##FFFFFF
##3C1B891.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#1B3B52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c1b89;
/* rgb */ color: rgb(60, 27, 137);
/* oklch */ color: oklch(34.8% 0.167 288.0);
Tailwind
colors: {
  custom: {
    50: '#7b5cac',
    500: '#3c1b89',
    950: '#000000',
  },
}
SCSS
$custom: #3c1b89;
$custom-light: #7b5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1b89",
  "rgb": {
    "r": 60,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 258,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.16663,
    "h": 288
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#3C1B89
secondary
#98BC44
accent
#EA3EB6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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