#3C1990#3C1990

#3C1990 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.177 H 286.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#3C1990
RGBrgb(60, 25, 144)
HSLhsl(258, 70%, 33%)
HSVhsv(258, 83%, 56%)
CMYKcmyk(58.3%, 82.6%, 0%, 43.5%)
CIE-LABlab(22.55, 45.84, -58.74)
CIE-LCHlch(22.55, 74.51, 307.97°)
OKLaboklab(35.32% 0.0506 -0.1691)
OKLCHoklch(35.32% 0.177 286.6)
XYZxyz(7.2436, 3.6691, 26.7067)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1990 #6D9019
analogous
#193190 #3C1990 #771990
triadic
#3C1990 #903C19 #19903C
tetradic
#3C1990 #901931 #6D9019 #199077
square
#3C1990 #901931 #6D9019 #199077
split-complementary
#3C1990 #907719 #319019
monochromatic
#110728 #26105C #3C1990 #5222C4 #7245DF

Accessibility & contrast

On white

12.11
#3C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3C1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1990
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1990#FFFFFF#000000##FFFFFF
##3C19901.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#123D55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1990;
/* rgb */ color: rgb(60, 25, 144);
/* oklch */ color: oklch(35.3% 0.177 286.6);
Tailwind
colors: {
  custom: {
    50: '#7d5cb2',
    500: '#3c1990',
    950: '#000000',
  },
}
SCSS
$custom: #3c1990;
$custom-light: #7d5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1990",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 257.647,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.17654,
    "h": 286.6
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#3C1990
secondary
#9CC045
accent
#ED3BB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1990

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

Preview Lab → · Contrast checker → · Palette generator →

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