#3C145B#3C145B

#3C145B is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.121 H 305.9°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#3C145B
RGBrgb(60, 20, 91)
HSLhsl(274, 64%, 22%)
HSVhsv(274, 78%, 36%)
CMYKcmyk(34.1%, 78%, 0%, 64.3%)
CIE-LABlab(16.58, 33.49, -34.39)
CIE-LCHlch(16.58, 48.01, 314.24°)
OKLaboklab(29.58% 0.0708 -0.0977)
OKLCHoklch(29.58% 0.121 305.9)
XYZxyz(4.0015, 2.2163, 10.1125)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C145B #335B14
analogous
#19145B #3C145B #5B1457
triadic
#3C145B #5B3C14 #145B3C
tetradic
#3C145B #5B1914 #335B14 #14575B
square
#3C145B #5B1914 #335B14 #14575B
split-complementary
#3C145B #575B14 #145B19
monochromatic
#110619 #1B0929 #3C145B #5D1F8D #7E2ABF

Accessibility & contrast

On white

14.55
#3C145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3C145B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C145B
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C145B#FFFFFF#000000##FFFFFF
##3C145B1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#362536
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c145b;
/* rgb */ color: rgb(60, 20, 91);
/* oklch */ color: oklch(29.6% 0.121 305.9);
Tailwind
colors: {
  custom: {
    50: '#75568a',
    500: '#3c145b',
    950: '#000000',
  },
}
SCSS
$custom: #3c145b;
$custom-light: #75568a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c145b",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 273.803,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29584,
    "c": 0.12067,
    "h": 305.9
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#3C145B
secondary
#609338
accent
#E74189
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C145B

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

Preview Lab → · Contrast checker → · Palette generator →

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