#3C22B4#3C22B4

#3C22B4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.210 H 279.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3C22B4
RGBrgb(60, 34, 180)
HSLhsl(251, 68%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(66.7%, 81.1%, 0%, 29.4%)
CIE-LABlab(27.84, 52.23, -71.88)
CIE-LCHlch(27.84, 88.85, 306.00°)
OKLaboklab(40.14% 0.0339 -0.2076)
OKLCHoklch(40.14% 0.21 279.3)
XYZxyz(10.6711, 5.3991, 43.6510)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22B4 #9AB422
analogous
#2251B4 #3C22B4 #8522B4
triadic
#3C22B4 #B43C22 #22B43C
tetradic
#3C22B4 #B42251 #9AB422 #22B485
square
#3C22B4 #B42251 #9AB422 #22B485
split-complementary
#3C22B4 #B48522 #51B422
monochromatic
#1A0F4D #2B1881 #3C22B4 #563ADA #826DE3

Accessibility & contrast

On white

10.10
#3C22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3C22B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22B4
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22B4#FFFFFF#000000##FFFFFF
##3C22B41.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c22b4;
/* rgb */ color: rgb(60, 34, 180);
/* oklch */ color: oklch(40.1% 0.210 279.3);
Tailwind
colors: {
  custom: {
    50: '#8362cc',
    500: '#3c22b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c22b4;
$custom-light: #8362cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22b4",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 250.685,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.21031,
    "h": 279.3
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#3C22B4
secondary
#B8CA68
accent
#EB3DCC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3C22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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