#3C1979#3C1979

#3C1979 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.150 H 292.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#3C1979
RGBrgb(60, 25, 121)
HSLhsl(262, 66%, 29%)
HSVhsv(262, 79%, 47%)
CMYKcmyk(50.4%, 79.3%, 0%, 52.5%)
CIE-LABlab(20.19, 39.28, -48.13)
CIE-LCHlch(20.19, 62.12, 309.22°)
OKLaboklab(32.97% 0.0581 -0.1381)
OKLCHoklch(32.97% 0.15 292.8)
XYZxyz(5.6613, 3.0362, 18.3732)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1979 #567919
analogous
#192679 #3C1979 #6C1979
triadic
#3C1979 #793C19 #19793C
tetradic
#3C1979 #791926 #567919 #19796C
square
#3C1979 #791926 #567919 #19796C
split-complementary
#3C1979 #796C19 #267919
monochromatic
#0D0519 #230F46 #3C1979 #5523AC #7137D6

Accessibility & contrast

On white

13.07
#3C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3C1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1979
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1979#FFFFFF#000000##FFFFFF
##3C19791.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#293448
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1979;
/* rgb */ color: rgb(60, 25, 121);
/* oklch */ color: oklch(33.0% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#795aa1',
    500: '#3c1979',
    950: '#000000',
  },
}
SCSS
$custom: #3c1979;
$custom-light: #795aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1979",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 261.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.14984,
    "h": 292.8
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#3C1979
secondary
#86AE40
accent
#E93FAB
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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