#3C2A94#3C2A94

#3C2A94 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.164 H 283.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3C2A94
RGBrgb(60, 42, 148)
HSLhsl(250, 56%, 37%)
HSVhsv(250, 72%, 58%)
CMYKcmyk(59.5%, 71.6%, 0%, 42%)
CIE-LABlab(26.02, 38.31, -55.49)
CIE-LCHlch(26.02, 67.43, 304.62°)
OKLaboklab(37.89% 0.037 -0.1598)
OKLCHoklch(37.89% 0.164 283)
XYZxyz(8.0351, 4.7542, 28.5055)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A94 #82942A
analogous
#2A4D94 #3C2A94 #712A94
triadic
#3C2A94 #943C2A #2A943C
tetradic
#3C2A94 #942A4D #82942A #2A9471
square
#3C2A94 #942A4D #82942A #2A9471
split-complementary
#3C2A94 #94712A #4D942A
monochromatic
#150F35 #291C64 #3C2A94 #4F38C4 #7865D3

Accessibility & contrast

On white

10.76
#3C2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3C2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A94
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A94#FFFFFF#000000##FFFFFF
##3C2A941.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#07465C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c2a94;
/* rgb */ color: rgb(60, 42, 148);
/* oklch */ color: oklch(37.9% 0.164 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c65b4',
    500: '#3c2a94',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a94;
$custom-light: #7c65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a94",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 250.189,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.16402,
    "h": 283
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#3C2A94
secondary
#AAB960
accent
#DF49C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3C2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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