#3C2C8C#3C2C8C

#3C2C8C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.151 H 284.0°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3C2C8C
RGBrgb(60, 44, 140)
HSLhsl(250, 52%, 36%)
HSVhsv(250, 69%, 55%)
CMYKcmyk(57.1%, 68.6%, 0%, 45.1%)
CIE-LABlab(25.73, 34.56, -51.03)
CIE-LCHlch(25.73, 61.63, 304.11°)
OKLaboklab(37.45% 0.0365 -0.1467)
OKLCHoklch(37.45% 0.151 284)
XYZxyz(7.4963, 4.6550, 25.3094)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2C8C #7C8C2C
analogous
#2C4C8C #3C2C8C #6C2C8C
triadic
#3C2C8C #8C3C2C #2C8C3C
tetradic
#3C2C8C #8C2C4C #7C8C2C #2C8C6C
square
#3C2C8C #8C2C4C #7C8C2C #2C8C6C
split-complementary
#3C2C8C #8C6C2C #4C8C2C
monochromatic
#140F2F #281D5D #3C2C8C #503BBB #7664CE

Accessibility & contrast

On white

10.88
#3C2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2C8C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2C8C#FFFFFF#000000##FFFFFF
##3C2C8C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#164458
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c2c8c;
/* rgb */ color: rgb(60, 44, 140);
/* oklch */ color: oklch(37.5% 0.151 284.0);
Tailwind
colors: {
  custom: {
    50: '#7a66ae',
    500: '#3c2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #3c2c8c;
$custom-light: #7a66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2c8c",
  "rgb": {
    "r": 60,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 250,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.15119,
    "h": 284
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#3C2C8C
secondary
#A6B55F
accent
#DC4CC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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