#3C304A#3C304A

#3C304A is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.4% C 0.047 H 305.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#3C304A
RGBrgb(60, 48, 74)
HSLhsl(268, 21%, 24%)
HSVhsv(268, 35%, 29%)
CMYKcmyk(18.9%, 35.1%, 0%, 71%)
CIE-LABlab(22.19, 11.53, -14.07)
CIE-LCHlch(22.19, 18.19, 309.34°)
OKLaboklab(33.38% 0.0272 -0.0387)
OKLCHoklch(33.38% 0.047 305.1)
XYZxyz(4.1562, 3.5690, 6.9472)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C304A #3E4A30
analogous
#30314A #3C304A #49304A
triadic
#3C304A #4A3C30 #304A3C
tetradic
#3C304A #4A3031 #3E4A30 #304A49
square
#3C304A #4A3031 #3E4A30 #304A49
split-complementary
#3C304A #4A4930 #314A30
monochromatic
#0F0C13 #1E1825 #3C304A #5A486F #786094

Accessibility & contrast

On white

12.25
#3C304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3C304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C304A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C304A#FFFFFF#000000##FFFFFF
##3C304A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#2D3549
Tritanopia (blue-blind)
#3A3439
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c304a;
/* rgb */ color: rgb(60, 48, 74);
/* oklch */ color: oklch(33.4% 0.047 305.1);
Tailwind
colors: {
  custom: {
    50: '#72687c',
    500: '#3c304a',
    950: '#000000',
  },
}
SCSS
$custom: #3c304a;
$custom-light: #72687c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c304a",
  "rgb": {
    "r": 60,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 267.692,
    "s": 21.311,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33377,
    "c": 0.04733,
    "h": 305.1
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#3C304A
secondary
#6C7B5B
accent
#BE6A97
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#080609
muted
#7B7A7B

Preview Lab

Preview with #3C304A

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

Preview Lab → · Contrast checker → · Palette generator →

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