#3C1779#3C1779

#3C1779 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.152 H 293.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#3C1779
RGBrgb(60, 23, 121)
HSLhsl(263, 68%, 28%)
HSVhsv(263, 81%, 47%)
CMYKcmyk(50.4%, 81%, 0%, 52.5%)
CIE-LABlab(19.86, 40.23, -48.67)
CIE-LCHlch(19.86, 63.15, 309.58°)
OKLaboklab(32.74% 0.0598 -0.1397)
OKLCHoklch(32.74% 0.152 293.2)
XYZxyz(5.6201, 2.9537, 18.3595)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1779 #547917
analogous
#172379 #3C1779 #6D1779
triadic
#3C1779 #793C17 #17793C
tetradic
#3C1779 #791723 #547917 #17796D
square
#3C1779 #791723 #547917 #17796D
split-complementary
#3C1779 #796D17 #237917
monochromatic
#0D051A #220D46 #3C1779 #5521AC #7132D8

Accessibility & contrast

On white

13.20
#3C1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1779
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1779#FFFFFF#000000##FFFFFF
##3C17791.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#293348
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1779;
/* rgb */ color: rgb(60, 23, 121);
/* oklch */ color: oklch(32.7% 0.152 293.2);
Tailwind
colors: {
  custom: {
    50: '#7959a1',
    500: '#3c1779',
    950: '#000000',
  },
}
SCSS
$custom: #3c1779;
$custom-light: #7959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1779",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 262.653,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3274,
    "c": 0.15194,
    "h": 293.2
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#3C1779
secondary
#84AE3E
accent
#EB3DA9
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1779

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

Preview Lab → · Contrast checker → · Palette generator →

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