#3C2183#3C2183

#3C2183 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.153 H 288.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#3C2183
RGBrgb(60, 33, 131)
HSLhsl(257, 60%, 32%)
HSVhsv(257, 75%, 51%)
CMYKcmyk(54.2%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.61, 38.09, -50.50)
CIE-LCHlch(22.61, 63.26, 307.02°)
OKLaboklab(34.97% 0.0484 -0.1451)
OKLCHoklch(34.97% 0.153 288.4)
XYZxyz(6.5029, 3.6868, 21.8373)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2183 #688321
analogous
#213783 #3C2183 #6D2183
triadic
#3C2183 #833C21 #21833C
tetradic
#3C2183 #832137 #688321 #21836D
square
#3C2183 #832137 #688321 #21836D
split-complementary
#3C2183 #836D21 #378321
monochromatic
#0F0821 #261552 #3C2183 #522DB4 #714CD2

Accessibility & contrast

On white

12.09
#3C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3C2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2183
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2183#FFFFFF#000000##FFFFFF
##3C21831.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#213B50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c2183;
/* rgb */ color: rgb(60, 33, 131);
/* oklch */ color: oklch(35.0% 0.153 288.4);
Tailwind
colors: {
  custom: {
    50: '#7a5fa8',
    500: '#3c2183',
    950: '#000000',
  },
}
SCSS
$custom: #3c2183;
$custom-light: #7a5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2183",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 256.531,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.15301,
    "h": 288.4
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#3C2183
secondary
#98B54B
accent
#E345B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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