#3C137E#3C137E

#3C137E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.161 H 292.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#3C137E
RGBrgb(60, 19, 126)
HSLhsl(263, 74%, 28%)
HSVhsv(263, 85%, 49%)
CMYKcmyk(52.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(19.77, 43.35, -52.00)
CIE-LCHlch(19.77, 67.70, 309.82°)
OKLaboklab(32.84% 0.061 -0.1494)
OKLCHoklch(32.84% 0.161 292.2)
XYZxyz(5.8612, 2.9325, 19.9918)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C137E #557E13
analogous
#131F7E #3C137E #71137E
triadic
#3C137E #7E3C13 #137E3C
tetradic
#3C137E #7E131F #557E13 #137E71
square
#3C137E #7E131F #557E13 #137E71
split-complementary
#3C137E #7E7113 #1F7E13
monochromatic
#0D041B #230B49 #3C137E #551BB3 #712CDF

Accessibility & contrast

On white

13.24
#3C137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3C137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C137E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C137E#FFFFFF#000000##FFFFFF
##3C137E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#25334A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c137e;
/* rgb */ color: rgb(60, 19, 126);
/* oklch */ color: oklch(32.8% 0.161 292.2);
Tailwind
colors: {
  custom: {
    50: '#7a57a4',
    500: '#3c137e',
    950: '#000000',
  },
}
SCSS
$custom: #3c137e;
$custom-light: #7a57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c137e",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 262.991,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32835,
    "c": 0.16136,
    "h": 292.2
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#3C137E
secondary
#85B439
accent
#F037AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #3C137E

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

Preview Lab → · Contrast checker → · Palette generator →

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