#3C1575#3C1575

#3C1575 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.149 H 294.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#3C1575
RGBrgb(60, 21, 117)
HSLhsl(264, 70%, 27%)
HSVhsv(264, 82%, 46%)
CMYKcmyk(48.7%, 82.1%, 0%, 54.1%)
CIE-LABlab(19.15, 40.03, -47.27)
CIE-LCHlch(19.15, 61.94, 310.26°)
OKLaboklab(32.12% 0.0627 -0.1356)
OKLCHoklch(32.12% 0.149 294.8)
XYZxyz(5.3417, 2.7812, 17.0816)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1575 #4E7515
analogous
#151E75 #3C1575 #6C1575
triadic
#3C1575 #753C15 #15753C
tetradic
#3C1575 #75151E #4E7515 #15756C
square
#3C1575 #75151E #4E7515 #15756C
split-complementary
#3C1575 #756C15 #1E7515
monochromatic
#0D051A #210C41 #3C1575 #571EA9 #722BD9

Accessibility & contrast

On white

13.49
#3C1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3C1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1575
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1575#FFFFFF#000000##FFFFFF
##3C15751.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#2B3045
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1575;
/* rgb */ color: rgb(60, 21, 117);
/* oklch */ color: oklch(32.1% 0.149 294.8);
Tailwind
colors: {
  custom: {
    50: '#79589e',
    500: '#3c1575',
    950: '#000000',
  },
}
SCSS
$custom: #3c1575;
$custom-light: #79589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1575",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 264.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.14937,
    "h": 294.8
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#3C1575
secondary
#7DAB3B
accent
#EC3BA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1575

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

Preview Lab → · Contrast checker → · Palette generator →

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