#3C26A2#3C26A2

#3C26A2 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.186 H 281.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3C26A2
RGBrgb(60, 38, 162)
HSLhsl(251, 62%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(63%, 76.5%, 0%, 36.5%)
CIE-LABlab(26.61, 44.89, -63.09)
CIE-LCHlch(26.61, 77.43, 305.43°)
OKLaboklab(38.71% 0.0368 -0.182)
OKLCHoklch(38.71% 0.186 281.4)
XYZxyz(9.0761, 4.9549, 34.6535)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C26A2 #8CA226
analogous
#264EA2 #3C26A2 #7A26A2
triadic
#3C26A2 #A23C26 #26A23C
tetradic
#3C26A2 #A2264E #8CA226 #26A27A
square
#3C26A2 #A2264E #8CA226 #26A27A
split-complementary
#3C26A2 #A27A26 #4EA226
monochromatic
#170F3F #2A1A70 #3C26A2 #5135D0 #7C67DB

Accessibility & contrast

On white

10.55
#3C26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C26A2
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C26A2#FFFFFF#000000##FFFFFF
##3C26A21.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c26a2;
/* rgb */ color: rgb(60, 38, 162);
/* oklch */ color: oklch(38.7% 0.186 281.4);
Tailwind
colors: {
  custom: {
    50: '#7f64bf',
    500: '#3c26a2',
    950: '#000000',
  },
}
SCSS
$custom: #3c26a2;
$custom-light: #7f64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c26a2",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 250.645,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.18569,
    "h": 281.4
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#3C26A2
secondary
#B0C163
accent
#E543C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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