#3C256A#3C256A

#3C256A is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.4% C 0.115 H 294.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#3C256A
RGBrgb(60, 37, 106)
HSLhsl(260, 48%, 28%)
HSVhsv(260, 65%, 42%)
CMYKcmyk(43.4%, 65.1%, 0%, 58.4%)
CIE-LABlab(21.30, 28.14, -36.65)
CIE-LCHlch(21.30, 46.20, 307.52°)
OKLaboklab(33.36% 0.0481 -0.1044)
OKLCHoklch(33.36% 0.115 294.7)
XYZxyz(5.1259, 3.3243, 14.0045)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C256A #536A25
analogous
#25306A #3C256A #5E256A
triadic
#3C256A #6A3C25 #256A3C
tetradic
#3C256A #6A2530 #536A25 #256A5E
square
#3C256A #6A2530 #536A25 #256A5E
split-complementary
#3C256A #6A5E25 #306A25
monochromatic
#0D0817 #22153D #3C256A #563597 #714AC0

Accessibility & contrast

On white

12.61
#3C256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3C256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C256A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C256A#FFFFFF#000000##FFFFFF
##3C256A1.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#303443
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c256a;
/* rgb */ color: rgb(60, 37, 106);
/* oklch */ color: oklch(33.4% 0.115 294.7);
Tailwind
colors: {
  custom: {
    50: '#766195',
    500: '#3c256a',
    950: '#000000',
  },
}
SCSS
$custom: #3c256a;
$custom-light: #766195;
$custom-dark: #000000;
JSON
{
  "hex": "#3c256a",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 260,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.11499,
    "h": 294.7
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#3C256A
secondary
#839D4E
accent
#D850AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3C256A

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

Preview Lab → · Contrast checker → · Palette generator →

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