#3C145C#3C145C

#3C145C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.122 H 305.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#3C145C
RGBrgb(60, 20, 92)
HSLhsl(273, 64%, 22%)
HSVhsv(273, 78%, 36%)
CMYKcmyk(34.8%, 78.3%, 0%, 63.9%)
CIE-LABlab(16.67, 33.75, -34.92)
CIE-LCHlch(16.67, 48.57, 314.02°)
OKLaboklab(29.67% 0.0706 -0.0993)
OKLCHoklch(29.67% 0.122 305.4)
XYZxyz(4.0450, 2.2337, 10.3412)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C145C #345C14
analogous
#18145C #3C145C #5C1458
triadic
#3C145C #5C3C14 #145C3C
tetradic
#3C145C #5C1814 #345C14 #14585C
square
#3C145C #5C1814 #345C14 #14585C
split-complementary
#3C145C #585C14 #145C18
monochromatic
#100519 #1B092A #3C145C #5D1F8E #7E2AC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C145C#FFFFFF#000000##FFFFFF
##3C145C1.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)
#00285E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#362537
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c145c;
/* rgb */ color: rgb(60, 20, 92);
/* oklch */ color: oklch(29.7% 0.122 305.4);
Tailwind
colors: {
  custom: {
    50: '#75568b',
    500: '#3c145c',
    950: '#000000',
  },
}
SCSS
$custom: #3c145c;
$custom-light: #75568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c145c",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 273.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29671,
    "c": 0.12183,
    "h": 305.4
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#3C145C
secondary
#619438
accent
#E7418B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C145C

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

Preview Lab → · Contrast checker → · Palette generator →

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