#3C299A#3C299A

#3C299A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.173 H 282.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3C299A
RGBrgb(60, 41, 154)
HSLhsl(250, 58%, 38%)
HSVhsv(250, 73%, 60%)
CMYKcmyk(61%, 73.4%, 0%, 39.6%)
CIE-LABlab(26.39, 40.78, -58.58)
CIE-LCHlch(26.39, 71.37, 304.85°)
OKLaboklab(38.32% 0.0366 -0.1688)
OKLCHoklch(38.32% 0.173 282.2)
XYZxyz(8.4873, 4.8790, 31.0601)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299A #879A29
analogous
#294F9A #3C299A #74299A
triadic
#3C299A #9A3C29 #299A3C
tetradic
#3C299A #9A294F #879A29 #299A74
square
#3C299A #9A294F #879A29 #299A74
split-complementary
#3C299A #9A7429 #4F9A29
monochromatic
#160F39 #291C6A #3C299A #4F37CA #7A67D7

Accessibility & contrast

On white

10.63
#3C299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3C299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C299A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299A#FFFFFF#000000##FFFFFF
##3C299A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c299a;
/* rgb */ color: rgb(60, 41, 154);
/* oklch */ color: oklch(38.3% 0.173 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d65b9',
    500: '#3c299a',
    950: '#000000',
  },
}
SCSS
$custom: #3c299a;
$custom-light: #7d65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299a",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 250.088,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.17274,
    "h": 282.2
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#3C299A
secondary
#ADBD62
accent
#E147C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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