#3C296A#3C296A

#3C296A is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.109 H 293.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#3C296A
RGBrgb(60, 41, 106)
HSLhsl(258, 44%, 29%)
HSVhsv(258, 61%, 42%)
CMYKcmyk(43.4%, 61.3%, 0%, 58.4%)
CIE-LABlab(22.26, 25.61, -35.10)
CIE-LCHlch(22.26, 43.45, 306.11°)
OKLaboklab(34.06% 0.0429 -0.0999)
OKLCHoklch(34.06% 0.109 293.2)
XYZxyz(5.2572, 3.5870, 14.0482)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C296A #576A29
analogous
#29376A #3C296A #5D296A
triadic
#3C296A #6A3C29 #296A3C
tetradic
#3C296A #6A2937 #576A29 #296A5D
square
#3C296A #6A2937 #576A29 #296A5D
split-complementary
#3C296A #6A5D29 #376A29
monochromatic
#0C0916 #23183E #3C296A #553A96 #7152BC

Accessibility & contrast

On white

12.23
#3C296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3C296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C296A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C296A#FFFFFF#000000##FFFFFF
##3C296A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02366C
Deuteranopia (green-blind)
#093469
Tritanopia (blue-blind)
#303745
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c296a;
/* rgb */ color: rgb(60, 41, 106);
/* oklch */ color: oklch(34.1% 0.109 293.2);
Tailwind
colors: {
  custom: {
    50: '#756395',
    500: '#3c296a',
    950: '#000000',
  },
}
SCSS
$custom: #3c296a;
$custom-light: #756395;
$custom-dark: #000000;
JSON
{
  "hex": "#3c296a",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 257.538,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34056,
    "c": 0.10873,
    "h": 293.2
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#3C296A
secondary
#879C52
accent
#D454AF
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3C296A

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

Preview Lab → · Contrast checker → · Palette generator →

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