#3C1977#3C1977

#3C1977 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.147 H 293.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#3C1977
RGBrgb(60, 25, 119)
HSLhsl(262, 65%, 28%)
HSVhsv(262, 79%, 47%)
CMYKcmyk(49.6%, 79%, 0%, 53.3%)
CIE-LABlab(19.99, 38.71, -47.16)
CIE-LCHlch(19.99, 61.02, 309.38°)
OKLaboklab(32.78% 0.0587 -0.1353)
OKLCHoklch(32.78% 0.147 293.4)
XYZxyz(5.5400, 2.9877, 17.7340)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1977 #547719
analogous
#192577 #3C1977 #6B1977
triadic
#3C1977 #773C19 #19773C
tetradic
#3C1977 #771925 #547719 #19776B
square
#3C1977 #771925 #547719 #19776B
split-complementary
#3C1977 #776B19 #257719
monochromatic
#0D0519 #220E44 #3C1977 #5524AA #7136D5

Accessibility & contrast

On white

13.14
#3C1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1977
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1977#FFFFFF#000000##FFFFFF
##3C19771.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#2A3347
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1977;
/* rgb */ color: rgb(60, 25, 119);
/* oklch */ color: oklch(32.8% 0.147 293.4);
Tailwind
colors: {
  custom: {
    50: '#795a9f',
    500: '#3c1977',
    950: '#000000',
  },
}
SCSS
$custom: #3c1977;
$custom-light: #795a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1977",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 262.34,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.14748,
    "h": 293.4
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#3C1977
secondary
#84AC40
accent
#E840A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3C1977

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

Preview Lab → · Contrast checker → · Palette generator →

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