#3C2295#3C2295

#3C2295 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.174 H 284.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#3C2295
RGBrgb(60, 34, 149)
HSLhsl(254, 63%, 36%)
HSVhsv(254, 77%, 58%)
CMYKcmyk(59.7%, 77.2%, 0%, 41.6%)
CIE-LABlab(24.56, 43.01, -58.51)
CIE-LCHlch(24.56, 72.62, 306.32°)
OKLaboklab(36.88% 0.043 -0.1686)
OKLCHoklch(36.88% 0.174 284.3)
XYZxyz(7.8587, 4.2741, 28.8388)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2295 #7B9522
analogous
#224195 #3C2295 #752295
triadic
#3C2295 #953C22 #22953C
tetradic
#3C2295 #952241 #7B9522 #229575
square
#3C2295 #952241 #7B9522 #229575
split-complementary
#3C2295 #957522 #419522
monochromatic
#140B31 #281763 #3C2295 #502DC7 #7558D9

Accessibility & contrast

On white

11.32
#3C2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3C2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2295
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2295#FFFFFF#000000##FFFFFF
##3C22951.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#06435A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2295;
/* rgb */ color: rgb(60, 34, 149);
/* oklch */ color: oklch(36.9% 0.174 284.3);
Tailwind
colors: {
  custom: {
    50: '#7d61b5',
    500: '#3c2295',
    950: '#000000',
  },
}
SCSS
$custom: #3c2295;
$custom-light: #7d61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2295",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 253.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36879,
    "c": 0.17399,
    "h": 284.3
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#3C2295
secondary
#A6BD56
accent
#E642C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2295

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

Preview Lab → · Contrast checker → · Palette generator →

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