#3C1968#3C1968

#3C1968 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.130 H 298.9°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#3C1968
RGBrgb(60, 25, 104)
HSLhsl(267, 61%, 25%)
HSVhsv(267, 76%, 41%)
CMYKcmyk(42.3%, 76%, 0%, 59.2%)
CIE-LABlab(18.61, 34.47, -39.71)
CIE-LCHlch(18.61, 52.59, 310.96°)
OKLaboklab(31.37% 0.0625 -0.1134)
OKLCHoklch(31.37% 0.13 298.9)
XYZxyz(4.7092, 2.6553, 13.3584)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1968 #456819
analogous
#191E68 #3C1968 #631968
triadic
#3C1968 #683C19 #19683C
tetradic
#3C1968 #68191E #456819 #196863
square
#3C1968 #68191E #456819 #196863
split-complementary
#3C1968 #686319 #1E6819
monochromatic
#0E0619 #200D37 #3C1968 #582599 #7531CB

Accessibility & contrast

On white

13.72
#3C1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1968
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1968#FFFFFF#000000##FFFFFF
##3C19681.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#312D3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1968;
/* rgb */ color: rgb(60, 25, 104);
/* oklch */ color: oklch(31.4% 0.130 298.9);
Tailwind
colors: {
  custom: {
    50: '#765994',
    500: '#3c1968',
    950: '#000000',
  },
}
SCSS
$custom: #3c1968;
$custom-light: #765994;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1968",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 266.582,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3137,
    "c": 0.12952,
    "h": 298.9
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#3C1968
secondary
#749E3F
accent
#E4439D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C1968

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

Preview Lab → · Contrast checker → · Palette generator →

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