#3C2A73#3C2A73

#3C2A73 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 35.0% C 0.120 H 290.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#3C2A73
RGBrgb(60, 42, 115)
HSLhsl(255, 46%, 31%)
HSVhsv(255, 63%, 45%)
CMYKcmyk(47.8%, 63.5%, 0%, 54.9%)
CIE-LABlab(23.18, 27.79, -39.40)
CIE-LCHlch(23.18, 48.22, 305.19°)
OKLaboklab(34.95% 0.0413 -0.1126)
OKLCHoklch(34.95% 0.12 290.1)
XYZxyz(5.7851, 3.8542, 16.6555)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A73 #61732A
analogous
#2A3C73 #3C2A73 #602A73
triadic
#3C2A73 #733C2A #2A733C
tetradic
#3C2A73 #732A3C #61732A #2A7360
square
#3C2A73 #732A3C #61732A #2A7360
split-complementary
#3C2A73 #73602A #3C732A
monochromatic
#0D0919 #251A46 #3C2A73 #533AA0 #7156C1

Accessibility & contrast

On white

11.86
#3C2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3C2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A73
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A73#FFFFFF#000000##FFFFFF
##3C2A731.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#2B3B4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3c2a73;
/* rgb */ color: rgb(60, 42, 115);
/* oklch */ color: oklch(35.0% 0.120 290.1);
Tailwind
colors: {
  custom: {
    50: '#77649c',
    500: '#3c2a73',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a73;
$custom-light: #77649c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a73",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 254.795,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.1199,
    "h": 290.1
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#3C2A73
secondary
#91A554
accent
#D652B5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3C2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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