#3C1672#3C1672

#3C1672 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.145 H 295.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#3C1672
RGBrgb(60, 22, 114)
HSLhsl(265, 68%, 27%)
HSVhsv(265, 81%, 45%)
CMYKcmyk(47.4%, 80.7%, 0%, 55.3%)
CIE-LABlab(19.01, 38.74, -45.56)
CIE-LCHlch(19.01, 59.80, 310.38°)
OKLaboklab(31.94% 0.0628 -0.1306)
OKLCHoklch(31.94% 0.145 295.7)
XYZxyz(5.1868, 2.7493, 16.1737)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1672 #4C7216
analogous
#161E72 #3C1672 #6A1672
triadic
#3C1672 #723C16 #16723C
tetradic
#3C1672 #72161E #4C7216 #16726A
square
#3C1672 #72161E #4C7216 #16726A
split-complementary
#3C1672 #726A16 #1E7216
monochromatic
#0E051A #210C3F #3C1672 #5720A5 #722CD6

Accessibility & contrast

On white

13.55
#3C1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1672
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1672#FFFFFF#000000##FFFFFF
##3C16721.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#2D2F43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1672;
/* rgb */ color: rgb(60, 22, 114);
/* oklch */ color: oklch(31.9% 0.145 295.7);
Tailwind
colors: {
  custom: {
    50: '#78589b',
    500: '#3c1672',
    950: '#000000',
  },
}
SCSS
$custom: #3c1672;
$custom-light: #78589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1672",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 264.783,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3194,
    "c": 0.14488,
    "h": 295.7
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#3C1672
secondary
#7BA83C
accent
#EB3DA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1672

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

Preview Lab → · Contrast checker → · Palette generator →

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