#3C22AD#3C22AD

#3C22AD is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.202 H 280.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3C22AD
RGBrgb(60, 34, 173)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 68%)
CMYKcmyk(65.3%, 80.3%, 0%, 32.2%)
CIE-LABlab(27.08, 50.18, -68.96)
CIE-LCHlch(27.08, 85.28, 306.04°)
OKLaboklab(39.39% 0.036 -0.1991)
OKLCHoklch(39.39% 0.202 280.3)
XYZxyz(9.9759, 5.1211, 39.9898)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22AD #93AD22
analogous
#224DAD #3C22AD #8122AD
triadic
#3C22AD #AD3C22 #22AD3C
tetradic
#3C22AD #AD224D #93AD22 #22AD81
square
#3C22AD #AD224D #93AD22 #22AD81
split-complementary
#3C22AD #AD8122 #4DAD22
monochromatic
#190E47 #2A187A #3C22AD #5335D7 #7F68E1

Accessibility & contrast

On white

10.37
#3C22AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3C22AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22AD
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22AD#FFFFFF#000000##FFFFFF
##3C22AD1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c22ad;
/* rgb */ color: rgb(60, 34, 173);
/* oklch */ color: oklch(39.4% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#8262c7',
    500: '#3c22ad',
    950: '#000000',
  },
}
SCSS
$custom: #3c22ad;
$custom-light: #8262c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22ad",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 251.223,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.20229,
    "h": 280.3
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#3C22AD
secondary
#B4C764
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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