#3C175A#3C175A

#3C175A is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.115 H 305.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#3C175A
RGBrgb(60, 23, 90)
HSLhsl(273, 59%, 22%)
HSVhsv(273, 74%, 35%)
CMYKcmyk(33.3%, 74.4%, 0%, 64.7%)
CIE-LABlab(17.04, 31.70, -32.98)
CIE-LCHlch(17.04, 45.74, 313.87°)
OKLaboklab(29.89% 0.0675 -0.0936)
OKLCHoklch(29.89% 0.115 305.8)
XYZxyz(4.0149, 2.3117, 9.9056)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C175A #355A17
analogous
#1A175A #3C175A #5A1757
triadic
#3C175A #5A3C17 #175A3C
tetradic
#3C175A #5A1A17 #355A17 #17575A
square
#3C175A #5A1A17 #355A17 #17575A
split-complementary
#3C175A #575A17 #175A1A
monochromatic
#100618 #1C0B29 #3C175A #5C238B #7D30BB

Accessibility & contrast

On white

14.36
#3C175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3C175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C175A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C175A#FFFFFF#000000##FFFFFF
##3C175A1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#022A59
Tritanopia (blue-blind)
#372636
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c175a;
/* rgb */ color: rgb(60, 23, 90);
/* oklch */ color: oklch(29.9% 0.115 305.8);
Tailwind
colors: {
  custom: {
    50: '#755789',
    500: '#3c175a',
    950: '#000000',
  },
}
SCSS
$custom: #3c175a;
$custom-light: #755789;
$custom-dark: #000000;
JSON
{
  "hex": "#3c175a",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 273.134,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29886,
    "c": 0.11538,
    "h": 305.8
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#3C175A
secondary
#62913C
accent
#E2458C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C175A

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

Preview Lab → · Contrast checker → · Palette generator →

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