#3C155D#3C155D

#3C155D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.122 H 304.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#3C155D
RGBrgb(60, 21, 93)
HSLhsl(273, 63%, 22%)
HSVhsv(273, 77%, 36%)
CMYKcmyk(35.5%, 77.4%, 0%, 63.5%)
CIE-LABlab(16.93, 33.52, -35.17)
CIE-LCHlch(16.93, 48.59, 313.63°)
OKLaboklab(29.88% 0.0692 -0.1)
OKLCHoklch(29.88% 0.122 304.7)
XYZxyz(4.1070, 2.2873, 10.5789)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C155D #365D15
analogous
#18155D #3C155D #5D155A
triadic
#3C155D #5D3C15 #155D3C
tetradic
#3C155D #5D1815 #365D15 #155A5D
square
#3C155D #5D1815 #365D15 #155A5D
split-complementary
#3C155D #5A5D15 #155D18
monochromatic
#100619 #1C0A2B #3C155D #5C208F #7C2CC1

Accessibility & contrast

On white

14.41
#3C155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C155D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C155D#FFFFFF#000000##FFFFFF
##3C155D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#362637
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c155d;
/* rgb */ color: rgb(60, 21, 93);
/* oklch */ color: oklch(29.9% 0.122 304.7);
Tailwind
colors: {
  custom: {
    50: '#75568b',
    500: '#3c155d',
    950: '#000000',
  },
}
SCSS
$custom: #3c155d;
$custom-light: #75568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c155d",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 272.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29882,
    "c": 0.12167,
    "h": 304.7
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#3C155D
secondary
#639439
accent
#E6428D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C155D

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

Preview Lab → · Contrast checker → · Palette generator →

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