#3C2B8A#3C2B8A

#3C2B8A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.150 H 284.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3C2B8A
RGBrgb(60, 43, 138)
HSLhsl(251, 52%, 35%)
HSVhsv(251, 69%, 54%)
CMYKcmyk(56.5%, 68.8%, 0%, 45.9%)
CIE-LABlab(25.33, 34.52, -50.43)
CIE-LCHlch(25.33, 61.11, 304.39°)
OKLaboklab(37.11% 0.0378 -0.145)
OKLCHoklch(37.11% 0.15 284.6)
XYZxyz(7.3134, 4.5230, 24.5275)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2B8A #798A2B
analogous
#2B498A #3C2B8A #6B2B8A
triadic
#3C2B8A #8A3C2B #2B8A3C
tetradic
#3C2B8A #8A2B49 #798A2B #2B8A6B
square
#3C2B8A #8A2B49 #798A2B #2B8A6B
split-complementary
#3C2B8A #8A6B2B #498A2B
monochromatic
#130E2D #281C5B #3C2B8A #503AB9 #7561CE

Accessibility & contrast

On white

11.03
#3C2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2B8A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2B8A#FFFFFF#000000##FFFFFF
##3C2B8A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#194356
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2b8a;
/* rgb */ color: rgb(60, 43, 138);
/* oklch */ color: oklch(37.1% 0.150 284.6);
Tailwind
colors: {
  custom: {
    50: '#7a66ad',
    500: '#3c2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #3c2b8a;
$custom-light: #7a66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2b8a",
  "rgb": {
    "r": 60,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 250.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3711,
    "c": 0.14981,
    "h": 284.6
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#3C2B8A
secondary
#A4B45D
accent
#DC4CC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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