#3C2291#3C2291

#3C2291 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.169 H 285.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3C2291
RGBrgb(60, 34, 145)
HSLhsl(254, 62%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(58.6%, 76.6%, 0%, 43.1%)
CIE-LABlab(24.16, 41.80, -56.70)
CIE-LCHlch(24.16, 70.44, 306.39°)
OKLaboklab(36.48% 0.0441 -0.1633)
OKLCHoklch(36.48% 0.169 285.1)
XYZxyz(7.5448, 4.1486, 27.1858)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2291 #779122
analogous
#224091 #3C2291 #732291
triadic
#3C2291 #913C22 #22913C
tetradic
#3C2291 #912240 #779122 #229173
square
#3C2291 #912240 #779122 #229173
split-complementary
#3C2291 #917322 #409122
monochromatic
#130B2E #27165F #3C2291 #512EC3 #7456D7

Accessibility & contrast

On white

11.48
#3C2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3C2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2291
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2291#FFFFFF#000000##FFFFFF
##3C22911.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0F4158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c2291;
/* rgb */ color: rgb(60, 34, 145);
/* oklch */ color: oklch(36.5% 0.169 285.1);
Tailwind
colors: {
  custom: {
    50: '#7c60b2',
    500: '#3c2291',
    950: '#000000',
  },
}
SCSS
$custom: #3c2291;
$custom-light: #7c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2291",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 254.054,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.16914,
    "h": 285.1
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#3C2291
secondary
#A3BB53
accent
#E543BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2291

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

Preview Lab → · Contrast checker → · Palette generator →

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