#3C155C#3C155C

#3C155C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.121 H 305.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#3C155C
RGBrgb(60, 21, 92)
HSLhsl(273, 63%, 22%)
HSVhsv(273, 77%, 36%)
CMYKcmyk(34.8%, 77.2%, 0%, 63.9%)
CIE-LABlab(16.84, 33.26, -34.64)
CIE-LCHlch(16.84, 48.02, 313.83°)
OKLaboklab(29.8% 0.0694 -0.0985)
OKLCHoklch(29.8% 0.121 305.2)
XYZxyz(4.0630, 2.2697, 10.3472)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C155C #355C15
analogous
#19155C #3C155C #5C1559
triadic
#3C155C #5C3C15 #155C3C
tetradic
#3C155C #5C1915 #355C15 #15595C
square
#3C155C #5C1915 #355C15 #15595C
split-complementary
#3C155C #595C15 #155C19
monochromatic
#100619 #1C0A2A #3C155C #5C208E #7D2CC0

Accessibility & contrast

On white

14.44
#3C155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C155C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C155C#FFFFFF#000000##FFFFFF
##3C155C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c155c;
/* rgb */ color: rgb(60, 21, 92);
/* oklch */ color: oklch(29.8% 0.121 305.2);
Tailwind
colors: {
  custom: {
    50: '#75568b',
    500: '#3c155c',
    950: '#000000',
  },
}
SCSS
$custom: #3c155c;
$custom-light: #75568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c155c",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 272.958,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29795,
    "c": 0.12051,
    "h": 305.2
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#3C155C
secondary
#629339
accent
#E6428C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C155C

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

Preview Lab → · Contrast checker → · Palette generator →

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