#3C2391#3C2391

#3C2391 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.168 H 284.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3C2391
RGBrgb(60, 35, 145)
HSLhsl(254, 61%, 35%)
HSVhsv(254, 76%, 57%)
CMYKcmyk(58.6%, 75.9%, 0%, 43.1%)
CIE-LABlab(24.34, 41.27, -56.40)
CIE-LCHlch(24.34, 69.88, 306.19°)
OKLaboklab(36.61% 0.0433 -0.1624)
OKLCHoklch(36.61% 0.168 284.9)
XYZxyz(7.5738, 4.2066, 27.1954)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2391 #789123
analogous
#234191 #3C2391 #732391
triadic
#3C2391 #913C23 #23913C
tetradic
#3C2391 #912341 #789123 #239173
square
#3C2391 #912341 #789123 #239173
split-complementary
#3C2391 #917323 #419123
monochromatic
#130B2E #281760 #3C2391 #502FC2 #7558D7

Accessibility & contrast

On white

11.40
#3C2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3C2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2391
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2391#FFFFFF#000000##FFFFFF
##3C23911.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0F4258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2391;
/* rgb */ color: rgb(60, 35, 145);
/* oklch */ color: oklch(36.6% 0.168 284.9);
Tailwind
colors: {
  custom: {
    50: '#7c61b2',
    500: '#3c2391',
    950: '#000000',
  },
}
SCSS
$custom: #3c2391;
$custom-light: #7c61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2391",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 253.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36607,
    "c": 0.16809,
    "h": 284.9
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#3C2391
secondary
#A4BB55
accent
#E444C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2391

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

Preview Lab → · Contrast checker → · Palette generator →

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