#3C1874#3C1874

#3C1874 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.145 H 294.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3C1874
RGBrgb(60, 24, 116)
HSLhsl(263, 66%, 27%)
HSVhsv(263, 79%, 45%)
CMYKcmyk(48.3%, 79.3%, 0%, 54.5%)
CIE-LABlab(19.53, 38.35, -45.99)
CIE-LCHlch(19.53, 59.88, 309.83°)
OKLaboklab(32.37% 0.0604 -0.1318)
OKLCHoklch(32.37% 0.145 294.6)
XYZxyz(5.3416, 2.8747, 16.7930)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1874 #507418
analogous
#182274 #3C1874 #6A1874
triadic
#3C1874 #743C18 #18743C
tetradic
#3C1874 #741822 #507418 #18746A
square
#3C1874 #741822 #507418 #18746A
split-complementary
#3C1874 #746A18 #227418
monochromatic
#0D0519 #220E41 #3C1874 #5622A7 #7232D5

Accessibility & contrast

On white

13.33
#3C1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1874
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1874#FFFFFF#000000##FFFFFF
##3C18741.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#2C3145
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1874;
/* rgb */ color: rgb(60, 24, 116);
/* oklch */ color: oklch(32.4% 0.145 294.6);
Tailwind
colors: {
  custom: {
    50: '#78599d',
    500: '#3c1874',
    950: '#000000',
  },
}
SCSS
$custom: #3c1874;
$custom-light: #78599d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1874",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 263.478,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32366,
    "c": 0.14503,
    "h": 294.6
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#3C1874
secondary
#7FA93F
accent
#E93FA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1874

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

Preview Lab → · Contrast checker → · Palette generator →

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