#3C22BB#3C22BB

#3C22BB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.218 H 278.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3C22BB
RGBrgb(60, 34, 187)
HSLhsl(250, 69%, 43%)
HSVhsv(250, 82%, 73%)
CMYKcmyk(67.9%, 81.8%, 0%, 26.7%)
CIE-LABlab(28.62, 54.27, -74.75)
CIE-LCHlch(28.62, 92.37, 305.98°)
OKLaboklab(40.91% 0.0318 -0.2159)
OKLCHoklch(40.91% 0.218 278.4)
XYZxyz(11.4023, 5.6916, 47.5018)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22BB #A1BB22
analogous
#2254BB #3C22BB #8822BB
triadic
#3C22BB #BB3C22 #22BB3C
tetradic
#3C22BB #BB2254 #A1BB22 #22BB88
square
#3C22BB #BB2254 #A1BB22 #22BB88
split-complementary
#3C22BB #BB8822 #54BB22
monochromatic
#1B0F53 #2B1987 #3C22BB #593EDC #8672E5

Accessibility & contrast

On white

9.82
#3C22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3C22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22BB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22BB#FFFFFF#000000##FFFFFF
##3C22BB1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c22bb;
/* rgb */ color: rgb(60, 34, 187);
/* oklch */ color: oklch(40.9% 0.218 278.4);
Tailwind
colors: {
  custom: {
    50: '#8463d1',
    500: '#3c22bb',
    950: '#000000',
  },
}
SCSS
$custom: #3c22bb;
$custom-light: #8463d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22bb",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 250.196,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.21825,
    "h": 278.4
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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