#3C1890#3C1890

#3C1890 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.177 H 286.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#3C1890
RGBrgb(60, 24, 144)
HSLhsl(258, 71%, 33%)
HSVhsv(258, 83%, 56%)
CMYKcmyk(58.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(22.40, 46.27, -58.98)
CIE-LCHlch(22.40, 74.96, 308.12°)
OKLaboklab(35.22% 0.0512 -0.1698)
OKLCHoklch(35.22% 0.177 286.8)
XYZxyz(7.2226, 3.6271, 26.6997)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1890 #6C9018
analogous
#183090 #3C1890 #781890
triadic
#3C1890 #903C18 #18903C
tetradic
#3C1890 #901830 #6C9018 #189078
square
#3C1890 #901830 #6C9018 #189078
split-complementary
#3C1890 #907818 #309018
monochromatic
#100727 #260F5C #3C1890 #5221C4 #7243E0

Accessibility & contrast

On white

12.17
#3C1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1890
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1890#FFFFFF#000000##FFFFFF
##3C18901.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1890;
/* rgb */ color: rgb(60, 24, 144);
/* oklch */ color: oklch(35.2% 0.177 286.8);
Tailwind
colors: {
  custom: {
    50: '#7d5bb2',
    500: '#3c1890',
    950: '#000000',
  },
}
SCSS
$custom: #3c1890;
$custom-light: #7d5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1890",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 258,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3522,
    "c": 0.17739,
    "h": 286.8
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#3C1890
secondary
#9BC043
accent
#EE3AB8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1890

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

Preview Lab → · Contrast checker → · Palette generator →

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