#3C155A#3C155A

#3C155A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.118 H 306.2°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3C155A
RGBrgb(60, 21, 90)
HSLhsl(274, 62%, 22%)
HSVhsv(274, 77%, 35%)
CMYKcmyk(33.3%, 76.7%, 0%, 64.7%)
CIE-LABlab(16.68, 32.73, -33.57)
CIE-LCHlch(16.68, 46.89, 314.27°)
OKLaboklab(29.62% 0.0698 -0.0953)
OKLCHoklch(29.62% 0.118 306.2)
XYZxyz(3.9767, 2.2352, 9.8928)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C155A #335A15
analogous
#1A155A #3C155A #5A1556
triadic
#3C155A #5A3C15 #155A3C
tetradic
#3C155A #5A1A15 #335A15 #15565A
square
#3C155A #5A1A15 #335A15 #15565A
split-complementary
#3C155A #565A15 #155A1A
monochromatic
#110619 #1B0928 #3C155A #5D218C #7E2CBD

Accessibility & contrast

On white

14.51
#3C155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C155A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C155A#FFFFFF#000000##FFFFFF
##3C155A1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#372536
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c155a;
/* rgb */ color: rgb(60, 21, 90);
/* oklch */ color: oklch(29.6% 0.118 306.2);
Tailwind
colors: {
  custom: {
    50: '#755689',
    500: '#3c155a',
    950: '#000000',
  },
}
SCSS
$custom: #3c155a;
$custom-light: #755689;
$custom-dark: #000000;
JSON
{
  "hex": "#3c155a",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 273.913,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29623,
    "c": 0.11818,
    "h": 306.2
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#3C155A
secondary
#609239
accent
#E54389
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C155A

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

Preview Lab → · Contrast checker → · Palette generator →

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