#3C215F#3C215F

#3C215F is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.106 H 300.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3C215F
RGBrgb(60, 33, 95)
HSLhsl(266, 48%, 25%)
HSVhsv(266, 65%, 37%)
CMYKcmyk(36.8%, 65.3%, 0%, 62.7%)
CIE-LABlab(19.53, 27.35, -32.28)
CIE-LCHlch(19.53, 42.31, 310.26°)
OKLaboklab(31.81% 0.054 -0.0916)
OKLCHoklch(31.81% 0.106 300.5)
XYZxyz(4.4724, 2.8746, 11.1435)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C215F #445F21
analogous
#21255F #3C215F #5B215F
triadic
#3C215F #5F3C21 #215F3C
tetradic
#3C215F #5F2125 #445F21 #215F5B
square
#3C215F #5F2125 #445F21 #215F5B
split-complementary
#3C215F #5F5B21 #255F21
monochromatic
#0E0817 #1F1132 #3C215F #59318C #7541BA

Accessibility & contrast

On white

13.33
#3C215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C215F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C215F#FFFFFF#000000##FFFFFF
##3C215F1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#352E3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c215f;
/* rgb */ color: rgb(60, 33, 95);
/* oklch */ color: oklch(31.8% 0.106 300.5);
Tailwind
colors: {
  custom: {
    50: '#755e8d',
    500: '#3c215f',
    950: '#000000',
  },
}
SCSS
$custom: #3c215f;
$custom-light: #755e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c215f",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 266.129,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31805,
    "c": 0.10635,
    "h": 300.5
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#3C215F
secondary
#739349
accent
#D8509D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #3C215F

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

Preview Lab → · Contrast checker → · Palette generator →

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