#3C1A4E#3C1A4E

#3C1A4E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.096 H 312.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3C1A4E
RGBrgb(60, 26, 78)
HSLhsl(279, 50%, 20%)
HSVhsv(279, 67%, 31%)
CMYKcmyk(23.1%, 66.7%, 0%, 69.4%)
CIE-LABlab(16.75, 26.89, -25.34)
CIE-LCHlch(16.75, 36.95, 316.69°)
OKLaboklab(29.38% 0.0644 -0.0712)
OKLCHoklch(29.38% 0.096 312.1)
XYZxyz(3.6078, 2.2496, 7.4504)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A4E #2C4E1A
analogous
#221A4E #3C1A4E #4E1A46
triadic
#3C1A4E #4E3C1A #1A4E3C
tetradic
#3C1A4E #4E221A #2C4E1A #1A464E
square
#3C1A4E #4E221A #2C4E1A #1A464E
split-complementary
#3C1A4E #464E1A #1A4E22
monochromatic
#120817 #190B20 #3C1A4E #5F297C #8339AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C1A4E#FFFFFF#000000##FFFFFF
##3C1A4E1.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)
#072850
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#3A2431
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1a4e;
/* rgb */ color: rgb(60, 26, 78);
/* oklch */ color: oklch(29.4% 0.096 312.1);
Tailwind
colors: {
  custom: {
    50: '#745980',
    500: '#3c1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a4e;
$custom-light: #745980;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a4e",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 279.231,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.09602,
    "h": 312.1
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#3C1A4E
secondary
#578440
accent
#DA4E7E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3C1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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