#3C1985#3C1985

#3C1985 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.164 H 289.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#3C1985
RGBrgb(60, 25, 133)
HSLhsl(259, 68%, 31%)
HSVhsv(259, 81%, 52%)
CMYKcmyk(54.9%, 81.2%, 0%, 47.8%)
CIE-LABlab(21.39, 42.71, -53.76)
CIE-LCHlch(21.39, 68.66, 308.46°)
OKLaboklab(34.17% 0.0543 -0.1546)
OKLCHoklch(34.17% 0.164 289.4)
XYZxyz(6.4435, 3.3491, 22.4927)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1985 #628519
analogous
#192C85 #3C1985 #721985
triadic
#3C1985 #853C19 #19853C
tetradic
#3C1985 #85192C #628519 #198572
square
#3C1985 #85192C #628519 #198572
split-complementary
#3C1985 #857219 #2C8519
monochromatic
#0E061E #250F51 #3C1985 #5323B9 #713EDB

Accessibility & contrast

On white

12.58
#3C1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3C1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1985
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1985#FFFFFF#000000##FFFFFF
##3C19851.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#1F384F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1985;
/* rgb */ color: rgb(60, 25, 133);
/* oklch */ color: oklch(34.2% 0.164 289.4);
Tailwind
colors: {
  custom: {
    50: '#7b5baa',
    500: '#3c1985',
    950: '#000000',
  },
}
SCSS
$custom: #3c1985;
$custom-light: #7b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1985",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 259.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34175,
    "c": 0.16388,
    "h": 289.4
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#3C1985
secondary
#92B941
accent
#EB3DB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1985

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

Preview Lab → · Contrast checker → · Palette generator →

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