#3C175C#3C175C

#3C175C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.1% C 0.118 H 304.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3C175C
RGBrgb(60, 23, 92)
HSLhsl(272, 60%, 23%)
HSVhsv(272, 75%, 36%)
CMYKcmyk(34.8%, 75%, 0%, 63.9%)
CIE-LABlab(17.21, 32.23, -34.05)
CIE-LCHlch(17.21, 46.89, 313.43°)
OKLaboklab(30.05% 0.0671 -0.0968)
OKLCHoklch(30.05% 0.118 304.8)
XYZxyz(4.1012, 2.3462, 10.3599)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C175C #375C17
analogous
#1A175C #3C175C #5C1759
triadic
#3C175C #5C3C17 #175C3C
tetradic
#3C175C #5C1A17 #375C17 #17595C
square
#3C175C #5C1A17 #375C17 #17595C
split-complementary
#3C175C #595C17 #175C1A
monochromatic
#100618 #1C0B2B #3C175C #5C238D #7C2FBE

Accessibility & contrast

On white

14.29
#3C175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C175C
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C175C#FFFFFF#000000##FFFFFF
##3C175C1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c175c;
/* rgb */ color: rgb(60, 23, 92);
/* oklch */ color: oklch(30.1% 0.118 304.8);
Tailwind
colors: {
  custom: {
    50: '#75578b',
    500: '#3c175c',
    950: '#000000',
  },
}
SCSS
$custom: #3c175c;
$custom-light: #75578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c175c",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 272.174,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.11777,
    "h": 304.8
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#3C175C
secondary
#64933C
accent
#E3458E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C175C

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

Preview Lab → · Contrast checker → · Palette generator →

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