#3C219E#3C219E

#3C219E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.186 H 282.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3C219E
RGBrgb(60, 33, 158)
HSLhsl(253, 65%, 37%)
HSVhsv(253, 79%, 62%)
CMYKcmyk(62%, 79.1%, 0%, 38%)
CIE-LABlab(25.31, 46.21, -62.79)
CIE-LCHlch(25.31, 77.96, 306.35°)
OKLaboklab(37.68% 0.0411 -0.1811)
OKLCHoklch(37.68% 0.186 282.8)
XYZxyz(8.5770, 4.5164, 32.7609)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C219E #839E21
analogous
#21459E #3C219E #7B219E
triadic
#3C219E #9E3C21 #219E3C
tetradic
#3C219E #9E2145 #839E21 #219E7B
square
#3C219E #9E2145 #839E21 #219E7B
split-complementary
#3C219E #9E7B21 #459E21
monochromatic
#160C39 #29166B #3C219E #4F2CD1 #785CDD

Accessibility & contrast

On white

11.03
#3C219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C219E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C219E#FFFFFF#000000##FFFFFF
##3C219E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c219e;
/* rgb */ color: rgb(60, 33, 158);
/* oklch */ color: oklch(37.7% 0.186 282.8);
Tailwind
colors: {
  custom: {
    50: '#7f61bc',
    500: '#3c219e',
    950: '#000000',
  },
}
SCSS
$custom: #3c219e;
$custom-light: #7f61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c219e",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 252.96,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.18568,
    "h": 282.8
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#3C219E
secondary
#ABC159
accent
#E83FC4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C219E

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

Preview Lab → · Contrast checker → · Palette generator →

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