#3C22AA#3C22AA

#3C22AA is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.199 H 280.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3C22AA
RGBrgb(60, 34, 170)
HSLhsl(251, 67%, 40%)
HSVhsv(251, 80%, 67%)
CMYKcmyk(64.7%, 80%, 0%, 33.3%)
CIE-LABlab(26.75, 49.29, -67.69)
CIE-LCHlch(26.75, 83.73, 306.06°)
OKLaboklab(39.07% 0.0369 -0.1954)
OKLCHoklch(39.07% 0.199 280.7)
XYZxyz(9.6889, 5.0062, 38.4781)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22AA #90AA22
analogous
#224CAA #3C22AA #8022AA
triadic
#3C22AA #AA3C22 #22AA3C
tetradic
#3C22AA #AA224C #90AA22 #22AA80
square
#3C22AA #AA224C #90AA22 #22AA80
split-complementary
#3C22AA #AA8022 #4CAA22
monochromatic
#180E44 #2A1877 #3C22AA #5233D6 #7D66E0

Accessibility & contrast

On white

10.49
#3C22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22AA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22AA#FFFFFF#000000##FFFFFF
##3C22AA1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c22aa;
/* rgb */ color: rgb(60, 34, 170);
/* oklch */ color: oklch(39.1% 0.199 280.7);
Tailwind
colors: {
  custom: {
    50: '#8162c5',
    500: '#3c22aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c22aa;
$custom-light: #8162c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22aa",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 251.471,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.19882,
    "h": 280.7
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#3C22AA
secondary
#B3C662
accent
#EA3EC9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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