#3C22A5#3C22A5

#3C22A5 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.193 H 281.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3C22A5
RGBrgb(60, 34, 165)
HSLhsl(252, 66%, 39%)
HSVhsv(252, 79%, 65%)
CMYKcmyk(63.6%, 79.4%, 0%, 35.3%)
CIE-LABlab(26.22, 47.81, -65.55)
CIE-LCHlch(26.22, 81.13, 306.10°)
OKLaboklab(38.54% 0.0384 -0.1891)
OKLCHoklch(38.54% 0.193 281.5)
XYZxyz(9.2249, 4.8206, 36.0344)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22A5 #8BA522
analogous
#224AA5 #3C22A5 #7E22A5
triadic
#3C22A5 #A53C22 #22A53C
tetradic
#3C22A5 #A5224A #8BA522 #22A57E
square
#3C22A5 #A5224A #8BA522 #22A57E
split-complementary
#3C22A5 #A57E22 #4AA522
monochromatic
#170D40 #2A1872 #3C22A5 #5130D4 #7B63DF

Accessibility & contrast

On white

10.69
#3C22A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3C22A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22A5
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22A5#FFFFFF#000000##FFFFFF
##3C22A51.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c22a5;
/* rgb */ color: rgb(60, 34, 165);
/* oklch */ color: oklch(38.5% 0.193 281.5);
Tailwind
colors: {
  custom: {
    50: '#8061c1',
    500: '#3c22a5',
    950: '#000000',
  },
}
SCSS
$custom: #3c22a5;
$custom-light: #8061c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22a5",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 251.908,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.193,
    "h": 281.5
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

primary
#3C22A5
secondary
#B0C45F
accent
#E93FC7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3C22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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