#3C175B#3C175B

#3C175B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.0% C 0.117 H 305.3°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3C175B
RGBrgb(60, 23, 91)
HSLhsl(273, 60%, 22%)
HSVhsv(273, 75%, 36%)
CMYKcmyk(34.1%, 74.7%, 0%, 64.3%)
CIE-LABlab(17.13, 31.97, -33.51)
CIE-LCHlch(17.13, 46.32, 313.65°)
OKLaboklab(29.97% 0.0673 -0.0952)
OKLCHoklch(29.97% 0.117 305.3)
XYZxyz(4.0578, 2.3288, 10.1312)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C175B #365B17
analogous
#1A175B #3C175B #5B1758
triadic
#3C175B #5B3C17 #175B3C
tetradic
#3C175B #5B1A17 #365B17 #17585B
square
#3C175B #5B1A17 #365B17 #17585B
split-complementary
#3C175B #585B17 #175B1A
monochromatic
#100618 #1C0B2A #3C175B #5C238C #7C30BD

Accessibility & contrast

On white

14.33
#3C175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C175B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C175B#FFFFFF#000000##FFFFFF
##3C175B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#362737
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c175b;
/* rgb */ color: rgb(60, 23, 91);
/* oklch */ color: oklch(30.0% 0.117 305.3);
Tailwind
colors: {
  custom: {
    50: '#75578a',
    500: '#3c175b',
    950: '#000000',
  },
}
SCSS
$custom: #3c175b;
$custom-light: #75578a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c175b",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 272.647,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2997,
    "c": 0.11658,
    "h": 305.3
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#3C175B
secondary
#63923C
accent
#E3458D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C175B

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

Preview Lab → · Contrast checker → · Palette generator →

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