#3C299B#3C299B

#3C299B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.174 H 282.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3C299B
RGBrgb(60, 41, 155)
HSLhsl(250, 58%, 38%)
HSVhsv(250, 74%, 61%)
CMYKcmyk(61.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(26.48, 41.10, -59.03)
CIE-LCHlch(26.48, 71.92, 304.85°)
OKLaboklab(38.42% 0.0363 -0.1701)
OKLCHoklch(38.42% 0.174 282.1)
XYZxyz(8.5710, 4.9125, 31.5005)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C299B #889B29
analogous
#294F9B #3C299B #75299B
triadic
#3C299B #9B3C29 #299B3C
tetradic
#3C299B #9B294F #889B29 #299B75
square
#3C299B #9B294F #889B29 #299B75
split-complementary
#3C299B #9B7529 #4F9B29
monochromatic
#170F3A #291C6B #3C299B #5037CA #7A67D7

Accessibility & contrast

On white

10.59
#3C299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C299B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C299B#FFFFFF#000000##FFFFFF
##3C299B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c299b;
/* rgb */ color: rgb(60, 41, 155);
/* oklch */ color: oklch(38.4% 0.174 282.1);
Tailwind
colors: {
  custom: {
    50: '#7d65ba',
    500: '#3c299b',
    950: '#000000',
  },
}
SCSS
$custom: #3c299b;
$custom-light: #7d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c299b",
  "rgb": {
    "r": 60,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 250,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.17399,
    "h": 282.1
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#3C299B
secondary
#AEBD63
accent
#E146C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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