#3C145F#3C145F

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

Color values

HEX#3C145F
RGBrgb(60, 20, 95)
HSLhsl(272, 65%, 23%)
HSVhsv(272, 79%, 37%)
CMYKcmyk(36.8%, 78.9%, 0%, 62.7%)
CIE-LABlab(16.93, 34.54, -36.51)
CIE-LCHlch(16.93, 50.26, 313.42°)
OKLaboklab(29.94% 0.0699 -0.104)
OKLCHoklch(29.94% 0.125 303.9)
XYZxyz(4.1787, 2.2872, 11.0456)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C145F #375F14
analogous
#17145F #3C145F #5F145C
triadic
#3C145F #5F3C14 #145F3C
tetradic
#3C145F #5F1714 #375F14 #145C5F
square
#3C145F #5F1714 #375F14 #145C5F
split-complementary
#3C145F #5C5F14 #145F17
monochromatic
#100519 #1C092C #3C145F #5C1F92 #7C29C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C145F#FFFFFF#000000##FFFFFF
##3C145F1.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)
#002961
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#352738
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c145f;
/* rgb */ color: rgb(60, 20, 95);
/* oklch */ color: oklch(29.9% 0.125 303.9);
Tailwind
colors: {
  custom: {
    50: '#76568d',
    500: '#3c145f',
    950: '#000000',
  },
}
SCSS
$custom: #3c145f;
$custom-light: #76568d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c145f",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 272,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29935,
    "c": 0.12527,
    "h": 303.9
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#3C145F
secondary
#649738
accent
#E8408E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C145F

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

Preview Lab → · Contrast checker → · Palette generator →

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