#3C1973#3C1973

#3C1973 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.143 H 294.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#3C1973
RGBrgb(60, 25, 115)
HSLhsl(263, 64%, 27%)
HSVhsv(263, 78%, 45%)
CMYKcmyk(47.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(19.61, 37.58, -45.22)
CIE-LCHlch(19.61, 58.79, 309.73°)
OKLaboklab(32.39% 0.0598 -0.1296)
OKLCHoklch(32.39% 0.143 294.8)
XYZxyz(5.3048, 2.8936, 16.4953)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1973 #507319
analogous
#192373 #3C1973 #691973
triadic
#3C1973 #733C19 #19733C
tetradic
#3C1973 #731923 #507319 #197369
square
#3C1973 #731923 #507319 #197369
split-complementary
#3C1973 #736919 #237319
monochromatic
#0D0519 #220E41 #3C1973 #5624A5 #7234D3

Accessibility & contrast

On white

13.30
#3C1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1973
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1973#FFFFFF#000000##FFFFFF
##3C19731.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#2C3145
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1973;
/* rgb */ color: rgb(60, 25, 115);
/* oklch */ color: oklch(32.4% 0.143 294.8);
Tailwind
colors: {
  custom: {
    50: '#785a9c',
    500: '#3c1973',
    950: '#000000',
  },
}
SCSS
$custom: #3c1973;
$custom-light: #785a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1973",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 263.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32391,
    "c": 0.14273,
    "h": 294.8
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#3C1973
secondary
#7FA840
accent
#E741A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1973

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

Preview Lab → · Contrast checker → · Palette generator →

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