#3C236A#3C236A

#3C236A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.0% C 0.118 H 295.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3C236A
RGBrgb(60, 35, 106)
HSLhsl(261, 50%, 28%)
HSVhsv(261, 67%, 42%)
CMYKcmyk(43.4%, 67%, 0%, 58.4%)
CIE-LABlab(20.84, 29.37, -37.39)
CIE-LCHlch(20.84, 47.54, 308.15°)
OKLaboklab(33.02% 0.0506 -0.1066)
OKLCHoklch(33.02% 0.118 295.4)
XYZxyz(5.0653, 3.2032, 13.9843)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C236A #516A23
analogous
#232D6A #3C236A #60236A
triadic
#3C236A #6A3C23 #236A3C
tetradic
#3C236A #6A232D #516A23 #236A60
square
#3C236A #6A232D #516A23 #236A60
split-complementary
#3C236A #6A6023 #2D6A23
monochromatic
#0D0817 #22143C #3C236A #563298 #7146C2

Accessibility & contrast

On white

12.80
#3C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3C236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C236A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C236A#FFFFFF#000000##FFFFFF
##3C236A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#303343
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c236a;
/* rgb */ color: rgb(60, 35, 106);
/* oklch */ color: oklch(33.0% 0.118 295.4);
Tailwind
colors: {
  custom: {
    50: '#765f95',
    500: '#3c236a',
    950: '#000000',
  },
}
SCSS
$custom: #3c236a;
$custom-light: #765f95;
$custom-dark: #000000;
JSON
{
  "hex": "#3c236a",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 261.127,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33023,
    "c": 0.11803,
    "h": 295.4
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#3C236A
secondary
#819D4B
accent
#DA4EA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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