#3C2189#3C2189

#3C2189 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.160 H 287.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#3C2189
RGBrgb(60, 33, 137)
HSLhsl(256, 61%, 33%)
HSVhsv(256, 76%, 54%)
CMYKcmyk(56.2%, 75.9%, 0%, 46.3%)
CIE-LABlab(23.18, 39.90, -53.33)
CIE-LCHlch(23.18, 66.60, 306.81°)
OKLaboklab(35.55% 0.0469 -0.1534)
OKLCHoklch(35.55% 0.16 287)
XYZxyz(6.9213, 3.8541, 24.0413)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2189 #6E8921
analogous
#213A89 #3C2189 #702189
triadic
#3C2189 #893C21 #21893C
tetradic
#3C2189 #89213A #6E8921 #218970
square
#3C2189 #89213A #6E8921 #218970
split-complementary
#3C2189 #897021 #3A8921
monochromatic
#110926 #261558 #3C2189 #522DBA #7250D5

Accessibility & contrast

On white

11.86
#3C2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2189
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2189#FFFFFF#000000##FFFFFF
##3C21891.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#1B3E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c2189;
/* rgb */ color: rgb(60, 33, 137);
/* oklch */ color: oklch(35.6% 0.160 287.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fac',
    500: '#3c2189',
    950: '#000000',
  },
}
SCSS
$custom: #3c2189;
$custom-light: #7b5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2189",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 255.577,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35551,
    "c": 0.16043,
    "h": 287
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#3C2189
secondary
#9CB84E
accent
#E444BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2189

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

Preview Lab → · Contrast checker → · Palette generator →

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