#3C1C8B#3C1C8B

#3C1C8B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.168 H 287.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#3C1C8B
RGBrgb(60, 28, 139)
HSLhsl(257, 66%, 33%)
HSVhsv(257, 80%, 55%)
CMYKcmyk(56.8%, 79.9%, 0%, 45.5%)
CIE-LABlab(22.50, 43.03, -55.70)
CIE-LCHlch(22.50, 70.39, 307.68°)
OKLaboklab(35.13% 0.0502 -0.1603)
OKLCHoklch(35.13% 0.168 287.4)
XYZxyz(6.9375, 3.6549, 24.7610)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C8B #6B8B1C
analogous
#1C348B #3C1C8B #731C8B
triadic
#3C1C8B #8B3C1C #1C8B3C
tetradic
#3C1C8B #8B1C34 #6B8B1C #1C8B73
square
#3C1C8B #8B1C34 #6B8B1C #1C8B73
split-complementary
#3C1C8B #8B731C #348B1C
monochromatic
#100725 #261258 #3C1C8B #5226BE #7247DA

Accessibility & contrast

On white

12.13
#3C1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3C1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1C8B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C8B#FFFFFF#000000##FFFFFF
##3C1C8B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#193C53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1c8b;
/* rgb */ color: rgb(60, 28, 139);
/* oklch */ color: oklch(35.1% 0.168 287.4);
Tailwind
colors: {
  custom: {
    50: '#7c5dae',
    500: '#3c1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c8b;
$custom-light: #7c5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c8b",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 257.297,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.16801,
    "h": 287.4
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#3C1C8B
secondary
#9ABC47
accent
#E93EB8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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