#3C26A8#3C26A8

#3C26A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.193 H 280.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#3C26A8
RGBrgb(60, 38, 168)
HSLhsl(250, 63%, 40%)
HSVhsv(250, 77%, 66%)
CMYKcmyk(64.3%, 77.4%, 0%, 34.1%)
CIE-LABlab(27.22, 46.73, -65.71)
CIE-LCHlch(27.22, 80.63, 305.42°)
OKLaboklab(39.33% 0.0352 -0.1896)
OKLCHoklch(39.33% 0.193 280.5)
XYZxyz(9.6222, 5.1733, 37.5297)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C26A8 #92A826
analogous
#2651A8 #3C26A8 #7D26A8
triadic
#3C26A8 #A83C26 #26A83C
tetradic
#3C26A8 #A82651 #92A826 #26A87D
square
#3C26A8 #A82651 #92A826 #26A87D
split-complementary
#3C26A8 #A87D26 #51A826
monochromatic
#180F44 #2A1B76 #3C26A8 #5339D2 #7E6BDE

Accessibility & contrast

On white

10.32
#3C26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3C26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C26A8
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C26A8#FFFFFF#000000##FFFFFF
##3C26A81.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c26a8;
/* rgb */ color: rgb(60, 38, 168);
/* oklch */ color: oklch(39.3% 0.193 280.5);
Tailwind
colors: {
  custom: {
    50: '#8064c3',
    500: '#3c26a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c26a8;
$custom-light: #8064c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c26a8",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 250.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.19287,
    "h": 280.5
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#3C26A8
secondary
#B4C466
accent
#E642CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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