#3C22A3#3C22A3

#3C22A3 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.191 H 281.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3C22A3
RGBrgb(60, 34, 163)
HSLhsl(252, 65%, 39%)
HSVhsv(252, 79%, 64%)
CMYKcmyk(63.2%, 79.1%, 0%, 36.1%)
CIE-LABlab(26.01, 47.21, -64.69)
CIE-LCHlch(26.01, 80.08, 306.12°)
OKLaboklab(38.32% 0.039 -0.1866)
OKLCHoklch(38.32% 0.191 281.8)
XYZxyz(9.0443, 4.7484, 35.0832)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22A3 #89A322
analogous
#2248A3 #3C22A3 #7C22A3
triadic
#3C22A3 #A33C22 #22A33C
tetradic
#3C22A3 #A32248 #89A322 #22A37C
square
#3C22A3 #A32248 #89A322 #22A37C
split-complementary
#3C22A3 #A37C22 #48A322
monochromatic
#170D3E #291770 #3C22A3 #502FD4 #7A61DE

Accessibility & contrast

On white

10.77
#3C22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22A3
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22A3#FFFFFF#000000##FFFFFF
##3C22A31.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0039A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c22a3;
/* rgb */ color: rgb(60, 34, 163);
/* oklch */ color: oklch(38.3% 0.191 281.8);
Tailwind
colors: {
  custom: {
    50: '#8061bf',
    500: '#3c22a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c22a3;
$custom-light: #8061bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22a3",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 252.093,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.19065,
    "h": 281.8
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#3C22A3
secondary
#AFC35E
accent
#E83FC6
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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