#3C2175#3C2175

#3C2175 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.135 H 292.3°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#3C2175
RGBrgb(60, 33, 117)
HSLhsl(259, 56%, 29%)
HSVhsv(259, 72%, 46%)
CMYKcmyk(48.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(21.33, 33.86, -43.70)
CIE-LCHlch(21.33, 55.28, 307.77°)
OKLaboklab(33.66% 0.0514 -0.1252)
OKLCHoklch(33.66% 0.135 292.3)
XYZxyz(5.6173, 3.3325, 17.1734)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2175 #5A7521
analogous
#213075 #3C2175 #662175
triadic
#3C2175 #753C21 #21753C
tetradic
#3C2175 #752130 #5A7521 #217566
square
#3C2175 #752130 #5A7521 #217566
split-complementary
#3C2175 #756621 #307521
monochromatic
#0C0718 #241445 #3C2175 #542EA5 #7046CB

Accessibility & contrast

On white

12.60
#3C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3C2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2175
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2175#FFFFFF#000000##FFFFFF
##3C21751.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#2B3648
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c2175;
/* rgb */ color: rgb(60, 33, 117);
/* oklch */ color: oklch(33.7% 0.135 292.3);
Tailwind
colors: {
  custom: {
    50: '#785e9d',
    500: '#3c2175',
    950: '#000000',
  },
}
SCSS
$custom: #3c2175;
$custom-light: #785e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2175",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 259.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33664,
    "c": 0.1353,
    "h": 292.3
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#3C2175
secondary
#8AA84A
accent
#DF49AF
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C2175

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

Preview Lab → · Contrast checker → · Palette generator →

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