#3C2F4E#3C2F4E

#3C2F4E is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.4% C 0.056 H 302.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#3C2F4E
RGBrgb(60, 47, 78)
HSLhsl(265, 25%, 25%)
HSVhsv(265, 40%, 31%)
CMYKcmyk(23.1%, 39.7%, 0%, 69.4%)
CIE-LABlab(22.10, 13.30, -16.89)
CIE-LCHlch(22.10, 21.50, 308.22°)
OKLaboklab(33.37% 0.0301 -0.0468)
OKLCHoklch(33.37% 0.056 302.8)
XYZxyz(4.2549, 3.5438, 7.6661)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2F4E #414E2F
analogous
#2F324E #3C2F4E #4C2F4E
triadic
#3C2F4E #4E3C2F #2F4E3C
tetradic
#3C2F4E #4E2F32 #414E2F #2F4E4C
square
#3C2F4E #4E2F32 #414E2F #2F4E4C
split-complementary
#3C2F4E #4E4C2F #324E2F
monochromatic
#0F0C13 #1F1828 #3C2F4E #594674 #775D9A

Accessibility & contrast

On white

12.29
#3C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2F4E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2F4E#FFFFFF#000000##FFFFFF
##3C2F4E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#39343A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3c2f4e;
/* rgb */ color: rgb(60, 47, 78);
/* oklch */ color: oklch(33.4% 0.056 302.8);
Tailwind
colors: {
  custom: {
    50: '#72677f',
    500: '#3c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c2f4e;
$custom-light: #72677f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2f4e",
  "rgb": {
    "r": 60,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 265.161,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33374,
    "c": 0.05566,
    "h": 302.8
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#3C2F4E
secondary
#6F7F5A
accent
#C1679B
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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