#3C22BA#3C22BA

#3C22BA is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.217 H 278.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3C22BA
RGBrgb(60, 34, 186)
HSLhsl(250, 69%, 43%)
HSVhsv(250, 82%, 73%)
CMYKcmyk(67.7%, 81.7%, 0%, 27.1%)
CIE-LABlab(28.51, 53.98, -74.35)
CIE-LCHlch(28.51, 91.87, 305.98°)
OKLaboklab(40.8% 0.0321 -0.2147)
OKLCHoklch(40.8% 0.217 278.5)
XYZxyz(11.2956, 5.6489, 46.9399)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22BA #A0BA22
analogous
#2254BA #3C22BA #8822BA
triadic
#3C22BA #BA3C22 #22BA3C
tetradic
#3C22BA #BA2254 #A0BA22 #22BA88
square
#3C22BA #BA2254 #A0BA22 #22BA88
split-complementary
#3C22BA #BA8822 #54BA22
monochromatic
#1B0F53 #2B1986 #3C22BA #593EDC #8571E5

Accessibility & contrast

On white

9.86
#3C22BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3C22BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22BA
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22BA#FFFFFF#000000##FFFFFF
##3C22BA1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003DB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c22ba;
/* rgb */ color: rgb(60, 34, 186);
/* oklch */ color: oklch(40.8% 0.217 278.5);
Tailwind
colors: {
  custom: {
    50: '#8463d0',
    500: '#3c22ba',
    950: '#000000',
  },
}
SCSS
$custom: #3c22ba;
$custom-light: #8463d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22ba",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 250.263,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.21711,
    "h": 278.5
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#3C22BA
secondary
#BBCC6C
accent
#EC3CCE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3C22BA

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

Preview Lab → · Contrast checker → · Palette generator →

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