#3C26A3#3C26A3

#3C26A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.187 H 281.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3C26A3
RGBrgb(60, 38, 163)
HSLhsl(251, 62%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(63.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(26.71, 45.20, -63.53)
CIE-LCHlch(26.71, 77.97, 305.43°)
OKLaboklab(38.82% 0.0365 -0.1833)
OKLCHoklch(38.82% 0.187 281.3)
XYZxyz(9.1654, 4.9906, 35.1235)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C26A3 #8DA326
analogous
#264FA3 #3C26A3 #7B26A3
triadic
#3C26A3 #A33C26 #26A33C
tetradic
#3C26A3 #A3264F #8DA326 #26A37B
square
#3C26A3 #A3264F #8DA326 #26A37B
split-complementary
#3C26A3 #A37B26 #4FA326
monochromatic
#170F40 #2A1A71 #3C26A3 #5136D0 #7C68DC

Accessibility & contrast

On white

10.51
#3C26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C26A3
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C26A3#FFFFFF#000000##FFFFFF
##3C26A31.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c26a3;
/* rgb */ color: rgb(60, 38, 163);
/* oklch */ color: oklch(38.8% 0.187 281.3);
Tailwind
colors: {
  custom: {
    50: '#7f64bf',
    500: '#3c26a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c26a3;
$custom-light: #7f64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c26a3",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 250.56,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.18689,
    "h": 281.3
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#3C26A3
secondary
#B1C263
accent
#E543C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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