#3C1673#3C1673

#3C1673 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.146 H 295.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#3C1673
RGBrgb(60, 22, 115)
HSLhsl(265, 68%, 27%)
HSVhsv(265, 81%, 45%)
CMYKcmyk(47.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(19.11, 39.02, -46.05)
CIE-LCHlch(19.11, 60.36, 310.28°)
OKLaboklab(32.04% 0.0625 -0.132)
OKLCHoklch(32.04% 0.146 295.3)
XYZxyz(5.2441, 2.7721, 16.4751)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1673 #4D7316
analogous
#161F73 #3C1673 #6B1673
triadic
#3C1673 #733C16 #16733C
tetradic
#3C1673 #73161F #4D7316 #16736B
square
#3C1673 #73161F #4D7316 #16736B
split-complementary
#3C1673 #736B16 #1F7316
monochromatic
#0D051A #210C40 #3C1673 #5720A6 #722DD7

Accessibility & contrast

On white

13.51
#3C1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1673
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1673#FFFFFF#000000##FFFFFF
##3C16731.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#2C3044
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1673;
/* rgb */ color: rgb(60, 22, 115);
/* oklch */ color: oklch(32.0% 0.146 295.3);
Tailwind
colors: {
  custom: {
    50: '#78589c',
    500: '#3c1673',
    950: '#000000',
  },
}
SCSS
$custom: #3c1673;
$custom-light: #78589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1673",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 264.516,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32037,
    "c": 0.14604,
    "h": 295.3
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#3C1673
secondary
#7CA93C
accent
#EB3DA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1673

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

Preview Lab → · Contrast checker → · Palette generator →

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