#3C22B1#3C22B1

#3C22B1 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.207 H 279.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3C22B1
RGBrgb(60, 34, 177)
HSLhsl(251, 68%, 41%)
HSVhsv(251, 81%, 69%)
CMYKcmyk(66.1%, 80.8%, 0%, 30.6%)
CIE-LABlab(27.51, 51.35, -70.63)
CIE-LCHlch(27.51, 87.33, 306.02°)
OKLaboklab(39.82% 0.0348 -0.2039)
OKLCHoklch(39.82% 0.207 279.7)
XYZxyz(10.3688, 5.2782, 42.0588)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22B1 #97B122
analogous
#2250B1 #3C22B1 #8422B1
triadic
#3C22B1 #B13C22 #22B13C
tetradic
#3C22B1 #B12250 #97B122 #22B184
square
#3C22B1 #B12250 #97B122 #22B184
split-complementary
#3C22B1 #B18422 #50B122
monochromatic
#190E4A #2B187E #3C22B1 #5538D9 #816BE3

Accessibility & contrast

On white

10.22
#3C22B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C22B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22B1
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22B1#FFFFFF#000000##FFFFFF
##3C22B11.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c22b1;
/* rgb */ color: rgb(60, 34, 177);
/* oklch */ color: oklch(39.8% 0.207 279.7);
Tailwind
colors: {
  custom: {
    50: '#8262ca',
    500: '#3c22b1',
    950: '#000000',
  },
}
SCSS
$custom: #3c22b1;
$custom-light: #8262ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22b1",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 250.909,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39818,
    "c": 0.20689,
    "h": 279.7
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#3C22B1
secondary
#B7C966
accent
#EB3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C22B1

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

Preview Lab → · Contrast checker → · Palette generator →

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