#3C2085#3C2085

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

Color values

HEX#3C2085
RGBrgb(60, 32, 133)
HSLhsl(257, 61%, 32%)
HSVhsv(257, 76%, 52%)
CMYKcmyk(54.9%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.61, 39.23, -51.76)
CIE-LCHlch(22.61, 64.95, 307.16°)
OKLaboklab(35.03% 0.0488 -0.1488)
OKLCHoklch(35.03% 0.157 288.2)
XYZxyz(6.6124, 3.6868, 22.5490)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2085 #698520
analogous
#203685 #3C2085 #6F2085
triadic
#3C2085 #853C20 #20853C
tetradic
#3C2085 #852036 #698520 #20856F
square
#3C2085 #852036 #698520 #20856F
split-complementary
#3C2085 #856F20 #368520
monochromatic
#0F0822 #261454 #3C2085 #522CB6 #714CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C2085#FFFFFF#000000##FFFFFF
##3C20851.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)
#003888
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#1F3C51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c2085;
/* rgb */ color: rgb(60, 32, 133);
/* oklch */ color: oklch(35.0% 0.157 288.2);
Tailwind
colors: {
  custom: {
    50: '#7a5fa9',
    500: '#3c2085',
    950: '#000000',
  },
}
SCSS
$custom: #3c2085;
$custom-light: #7a5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2085",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 256.634,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.15662,
    "h": 288.2
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#3C2085
secondary
#99B74A
accent
#E443B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3C2085

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

Preview Lab → · Contrast checker → · Palette generator →

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