#3C2296#3C2296

#3C2296 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.175 H 284.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#3C2296
RGBrgb(60, 34, 150)
HSLhsl(253, 63%, 36%)
HSVhsv(253, 77%, 59%)
CMYKcmyk(60%, 77.3%, 0%, 41.2%)
CIE-LABlab(24.66, 43.31, -58.96)
CIE-LCHlch(24.66, 73.16, 306.30°)
OKLaboklab(36.98% 0.0427 -0.1699)
OKLCHoklch(36.98% 0.175 284.1)
XYZxyz(7.9388, 4.3062, 29.2611)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2296 #7C9622
analogous
#224296 #3C2296 #762296
triadic
#3C2296 #963C22 #22963C
tetradic
#3C2296 #962242 #7C9622 #229676
square
#3C2296 #962242 #7C9622 #229676
split-complementary
#3C2296 #967622 #429622
monochromatic
#140B32 #281764 #3C2296 #502DC8 #7659D9

Accessibility & contrast

On white

11.28
#3C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2296
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2296#FFFFFF#000000##FFFFFF
##3C22961.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#03435B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c2296;
/* rgb */ color: rgb(60, 34, 150);
/* oklch */ color: oklch(37.0% 0.175 284.1);
Tailwind
colors: {
  custom: {
    50: '#7d61b6',
    500: '#3c2296',
    950: '#000000',
  },
}
SCSS
$custom: #3c2296;
$custom-light: #7d61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2296",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 253.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3698,
    "c": 0.17519,
    "h": 284.1
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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