#3C1A89#3C1A89

#3C1A89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.168 H 288.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#3C1A89
RGBrgb(60, 26, 137)
HSLhsl(258, 68%, 32%)
HSVhsv(258, 81%, 54%)
CMYKcmyk(56.2%, 81%, 0%, 46.3%)
CIE-LABlab(21.96, 43.39, -55.33)
CIE-LCHlch(21.96, 70.32, 308.10°)
OKLaboklab(34.7% 0.0523 -0.1592)
OKLCHoklch(34.7% 0.168 288.2)
XYZxyz(6.7469, 3.5052, 23.9831)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A89 #67891A
analogous
#1A3089 #3C1A89 #731A89
triadic
#3C1A89 #893C1A #1A893C
tetradic
#3C1A89 #891A30 #67891A #1A8973
square
#3C1A89 #891A30 #67891A #1A8973
split-complementary
#3C1A89 #89731A #30891A
monochromatic
#0F0622 #251056 #3C1A89 #5324BC #7142DB

Accessibility & contrast

On white

12.34
#3C1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3C1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A89
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A89#FFFFFF#000000##FFFFFF
##3C1A891.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1a89;
/* rgb */ color: rgb(60, 26, 137);
/* oklch */ color: oklch(34.7% 0.168 288.2);
Tailwind
colors: {
  custom: {
    50: '#7b5cad',
    500: '#3c1a89',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a89;
$custom-light: #7b5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a89",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 258.378,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.16758,
    "h": 288.2
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#3C1A89
secondary
#97BC43
accent
#EB3DB6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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