#3C1E4E#3C1E4E

#3C1E4E is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.089 H 311.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3C1E4E
RGBrgb(60, 30, 78)
HSLhsl(278, 44%, 21%)
HSVhsv(278, 62%, 31%)
CMYKcmyk(23.1%, 61.5%, 0%, 69.4%)
CIE-LABlab(17.64, 24.49, -23.92)
CIE-LCHlch(17.64, 34.23, 315.68°)
OKLaboklab(30.04% 0.0584 -0.0671)
OKLCHoklch(30.04% 0.089 311)
XYZxyz(3.7026, 2.4393, 7.4820)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1E4E #304E1E
analogous
#241E4E #3C1E4E #4E1E48
triadic
#3C1E4E #4E3C1E #1E4E3C
tetradic
#3C1E4E #4E241E #304E1E #1E484E
square
#3C1E4E #4E241E #304E1E #1E484E
split-complementary
#3C1E4E #484E1E #1E4E24
monochromatic
#110916 #1A0D22 #3C1E4E #5E2F7A #8040A6

Accessibility & contrast

On white

14.11
#3C1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3C1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1E4E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1E4E#FFFFFF#000000##FFFFFF
##3C1E4E1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A50
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#3A2632
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1e4e;
/* rgb */ color: rgb(60, 30, 78);
/* oklch */ color: oklch(30.0% 0.089 311.0);
Tailwind
colors: {
  custom: {
    50: '#735b80',
    500: '#3c1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c1e4e;
$custom-light: #735b80;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1e4e",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 277.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30037,
    "c": 0.0889,
    "h": 311
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#3C1E4E
secondary
#5C8345
accent
#D45484
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #3C1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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