#3C22A0#3C22A0

#3C22A0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.187 H 282.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3C22A0
RGBrgb(60, 34, 160)
HSLhsl(252, 65%, 38%)
HSVhsv(252, 79%, 63%)
CMYKcmyk(62.5%, 78.8%, 0%, 37.3%)
CIE-LABlab(25.69, 46.31, -63.39)
CIE-LCHlch(25.69, 78.50, 306.15°)
OKLaboklab(38.01% 0.0399 -0.1828)
OKLCHoklch(38.01% 0.187 282.3)
XYZxyz(8.7787, 4.6422, 33.6843)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C22A0 #86A022
analogous
#2247A0 #3C22A0 #7B22A0
triadic
#3C22A0 #A03C22 #22A03C
tetradic
#3C22A0 #A02247 #86A022 #22A07B
square
#3C22A0 #A02247 #86A022 #22A07B
split-complementary
#3C22A0 #A07B22 #47A022
monochromatic
#160D3B #29176E #3C22A0 #4F2DD2 #795FDD

Accessibility & contrast

On white

10.89
#3C22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C22A0
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C22A0#FFFFFF#000000##FFFFFF
##3C22A01.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c22a0;
/* rgb */ color: rgb(60, 34, 160);
/* oklch */ color: oklch(38.0% 0.187 282.3);
Tailwind
colors: {
  custom: {
    50: '#7f61bd',
    500: '#3c22a0',
    950: '#000000',
  },
}
SCSS
$custom: #3c22a0;
$custom-light: #7f61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c22a0",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 252.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.18712,
    "h": 282.3
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#3C22A0
secondary
#ADC25C
accent
#E840C5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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