#3C2C85#3C2C85

#3C2C85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.8% C 0.142 H 285.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3C2C85
RGBrgb(60, 44, 133)
HSLhsl(251, 50%, 35%)
HSVhsv(251, 67%, 52%)
CMYKcmyk(54.9%, 66.9%, 0%, 47.8%)
CIE-LABlab(25.12, 32.30, -47.65)
CIE-LCHlch(25.12, 57.56, 304.13°)
OKLaboklab(36.83% 0.0375 -0.1368)
OKLCHoklch(36.83% 0.142 285.3)
XYZxyz(6.9965, 4.4551, 22.6770)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2C85 #75852C
analogous
#2C4885 #3C2C85 #692C85
triadic
#3C2C85 #853C2C #2C853C
tetradic
#3C2C85 #852C48 #75852C #2C8569
square
#3C2C85 #852C48 #75852C #2C8569
split-complementary
#3C2C85 #85692C #48852C
monochromatic
#130E29 #271D57 #3C2C85 #513BB3 #7461CB

Accessibility & contrast

On white

11.11
#3C2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3C2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2C85
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2C85#FFFFFF#000000##FFFFFF
##3C2C851.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#1E4254
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2c85;
/* rgb */ color: rgb(60, 44, 133);
/* oklch */ color: oklch(36.8% 0.142 285.3);
Tailwind
colors: {
  custom: {
    50: '#7966a9',
    500: '#3c2c85',
    950: '#000000',
  },
}
SCSS
$custom: #3c2c85;
$custom-light: #7966a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2c85",
  "rgb": {
    "r": 60,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 250.787,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36825,
    "c": 0.14183,
    "h": 285.3
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#3C2C85
secondary
#A2B15C
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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