#3C2D83#3C2D83

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

Color values

HEX#3C2D83
RGBrgb(60, 45, 131)
HSLhsl(250, 49%, 35%)
HSVhsv(250, 66%, 51%)
CMYKcmyk(54.2%, 65.6%, 0%, 48.6%)
CIE-LABlab(25.19, 31.03, -46.29)
CIE-LCHlch(25.19, 55.73, 303.83°)
OKLaboklab(36.82% 0.0366 -0.1328)
OKLCHoklch(36.82% 0.138 285.4)
XYZxyz(6.8974, 4.4758, 21.9688)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2D83 #74832D
analogous
#2D4983 #3C2D83 #672D83
triadic
#3C2D83 #833C2D #2D833C
tetradic
#3C2D83 #832D49 #74832D #2D8367
square
#3C2D83 #832D49 #74832D #2D8367
split-complementary
#3C2D83 #83672D #49832D
monochromatic
#120E28 #271D55 #3C2D83 #513DB1 #7462C9

Accessibility & contrast

On white

11.08
#3C2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2D83
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2D83#FFFFFF#000000##FFFFFF
##3C2D831.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#204253
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2d83;
/* rgb */ color: rgb(60, 45, 131);
/* oklch */ color: oklch(36.8% 0.138 285.4);
Tailwind
colors: {
  custom: {
    50: '#7967a8',
    500: '#3c2d83',
    950: '#000000',
  },
}
SCSS
$custom: #3c2d83;
$custom-light: #7967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2d83",
  "rgb": {
    "r": 60,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 250.465,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36819,
    "c": 0.13777,
    "h": 285.4
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#3C2D83
secondary
#A1AF5C
accent
#D84FC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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