#3C175D#3C175D

#3C175D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.119 H 304.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#3C175D
RGBrgb(60, 23, 93)
HSLhsl(272, 60%, 23%)
HSVhsv(272, 75%, 36%)
CMYKcmyk(35.5%, 75.3%, 0%, 63.5%)
CIE-LABlab(17.29, 32.50, -34.58)
CIE-LCHlch(17.29, 47.46, 313.22°)
OKLaboklab(30.14% 0.067 -0.0983)
OKLCHoklch(30.14% 0.119 304.3)
XYZxyz(4.1452, 2.3638, 10.5917)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C175D #385D17
analogous
#19175D #3C175D #5D175B
triadic
#3C175D #5D3C17 #175D3C
tetradic
#3C175D #5D1917 #385D17 #175B5D
square
#3C175D #5D1917 #385D17 #175B5D
split-complementary
#3C175D #5B5D17 #175D19
monochromatic
#100619 #1C0B2C #3C175D #5C238E #7B2FBF

Accessibility & contrast

On white

14.26
#3C175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C175D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C175D#FFFFFF#000000##FFFFFF
##3C175D1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#362738
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c175d;
/* rgb */ color: rgb(60, 23, 93);
/* oklch */ color: oklch(30.1% 0.119 304.3);
Tailwind
colors: {
  custom: {
    50: '#75578b',
    500: '#3c175d',
    950: '#000000',
  },
}
SCSS
$custom: #3c175d;
$custom-light: #75578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c175d",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 271.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.11896,
    "h": 304.3
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#3C175D
secondary
#65943C
accent
#E3448F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C175D

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

Preview Lab → · Contrast checker → · Palette generator →

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