#3C175F#3C175F

#3C175F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 303.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3C175F
RGBrgb(60, 23, 95)
HSLhsl(271, 61%, 23%)
HSVhsv(271, 76%, 37%)
CMYKcmyk(36.8%, 75.8%, 0%, 62.7%)
CIE-LABlab(17.46, 33.04, -35.64)
CIE-LCHlch(17.46, 48.60, 312.83°)
OKLaboklab(30.31% 0.0666 -0.1014)
OKLCHoklch(30.31% 0.121 303.3)
XYZxyz(4.2350, 2.3997, 11.0643)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C175F #3A5F17
analogous
#18175F #3C175F #5F175E
triadic
#3C175F #5F3C17 #175F3C
tetradic
#3C175F #5F1817 #3A5F17 #175E5F
square
#3C175F #5F1817 #3A5F17 #175E5F
split-complementary
#3C175F #5E5F17 #175F18
monochromatic
#100619 #1D0B2E #3C175F #5B2390 #7A2FC2

Accessibility & contrast

On white

14.19
#3C175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3C175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C175F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C175F#FFFFFF#000000##FFFFFF
##3C175F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#352839
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c175f;
/* rgb */ color: rgb(60, 23, 95);
/* oklch */ color: oklch(30.3% 0.121 303.3);
Tailwind
colors: {
  custom: {
    50: '#75588d',
    500: '#3c175f',
    950: '#000000',
  },
}
SCSS
$custom: #3c175f;
$custom-light: #75588d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c175f",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 270.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30311,
    "c": 0.12136,
    "h": 303.3
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#3C175F
secondary
#68963C
accent
#E44492
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C175F

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

Preview Lab → · Contrast checker → · Palette generator →

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