#3C145D#3C145D

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

Color values

HEX#3C145D
RGBrgb(60, 20, 93)
HSLhsl(273, 65%, 22%)
HSVhsv(273, 78%, 36%)
CMYKcmyk(35.5%, 78.5%, 0%, 63.5%)
CIE-LABlab(16.75, 34.02, -35.45)
CIE-LCHlch(16.75, 49.13, 313.81°)
OKLaboklab(29.76% 0.0703 -0.1009)
OKLCHoklch(29.76% 0.123 304.9)
XYZxyz(4.0890, 2.2513, 10.5729)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C145D #355D14
analogous
#18145D #3C145D #5D145A
triadic
#3C145D #5D3C14 #145D3C
tetradic
#3C145D #5D1814 #355D14 #145A5D
square
#3C145D #5D1814 #355D14 #145A5D
split-complementary
#3C145D #5A5D14 #145D18
monochromatic
#100519 #1C092B #3C145D #5C1F8F #7D2AC2

Accessibility & contrast

On white

14.48
#3C145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C145D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C145D#FFFFFF#000000##FFFFFF
##3C145D1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#362637
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c145d;
/* rgb */ color: rgb(60, 20, 93);
/* oklch */ color: oklch(29.8% 0.123 304.9);
Tailwind
colors: {
  custom: {
    50: '#75568b',
    500: '#3c145d',
    950: '#000000',
  },
}
SCSS
$custom: #3c145d;
$custom-light: #75568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c145d",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 272.877,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29759,
    "c": 0.12297,
    "h": 304.9
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#3C145D
secondary
#629538
accent
#E8408C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C145D

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

Preview Lab → · Contrast checker → · Palette generator →

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