#3C1374#3C1374

#3C1374 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.150 H 295.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3C1374
RGBrgb(60, 19, 116)
HSLhsl(265, 72%, 26%)
HSVhsv(265, 84%, 45%)
CMYKcmyk(48.3%, 83.6%, 0%, 54.5%)
CIE-LABlab(18.74, 40.63, -47.28)
CIE-LCHlch(18.74, 62.34, 310.67°)
OKLaboklab(31.82% 0.0646 -0.1356)
OKLCHoklch(31.82% 0.15 295.5)
XYZxyz(5.2479, 2.6872, 16.7618)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1374 #4B7413
analogous
#131B74 #3C1374 #6D1374
triadic
#3C1374 #743C13 #13743C
tetradic
#3C1374 #74131B #4B7413 #13746D
square
#3C1374 #74131B #4B7413 #13746D
split-complementary
#3C1374 #746D13 #1B7413
monochromatic
#0E041A #210A3F #3C1374 #571CA9 #7326DB

Accessibility & contrast

On white

13.66
#3C1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1374
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1374#FFFFFF#000000##FFFFFF
##3C13741.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#2C2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1374;
/* rgb */ color: rgb(60, 19, 116);
/* oklch */ color: oklch(31.8% 0.150 295.5);
Tailwind
colors: {
  custom: {
    50: '#79579d',
    500: '#3c1374',
    950: '#000000',
  },
}
SCSS
$custom: #3c1374;
$custom-light: #79579d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1374",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 265.361,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31815,
    "c": 0.1502,
    "h": 295.5
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#3C1374
secondary
#7AAA38
accent
#EF39A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1374

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

Preview Lab → · Contrast checker → · Palette generator →

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