#3C1689#3C1689

#3C1689 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.171 H 288.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#3C1689
RGBrgb(60, 22, 137)
HSLhsl(260, 72%, 31%)
HSVhsv(260, 84%, 54%)
CMYKcmyk(56.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(21.36, 45.15, -56.33)
CIE-LCHlch(21.36, 72.19, 308.72°)
OKLaboklab(34.28% 0.0549 -0.1621)
OKLCHoklch(34.28% 0.171 288.7)
XYZxyz(6.6644, 3.3403, 23.9556)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1689 #638916
analogous
#162989 #3C1689 #751689
triadic
#3C1689 #893C16 #16893C
tetradic
#3C1689 #891629 #638916 #168975
square
#3C1689 #891629 #638916 #168975
split-complementary
#3C1689 #897516 #298916
monochromatic
#0E0520 #250E54 #3C1689 #531EBE #713ADF

Accessibility & contrast

On white

12.59
#3C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3C1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1689
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1689#FFFFFF#000000##FFFFFF
##3C16891.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#1C3951
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1689;
/* rgb */ color: rgb(60, 22, 137);
/* oklch */ color: oklch(34.3% 0.171 288.7);
Tailwind
colors: {
  custom: {
    50: '#7c5aad',
    500: '#3c1689',
    950: '#000000',
  },
}
SCSS
$custom: #3c1689;
$custom-light: #7c5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1689",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 259.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.17114,
    "h": 288.7
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#3C1689
secondary
#93BD3E
accent
#EF39B3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1689

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

Preview Lab → · Contrast checker → · Palette generator →

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