#3C26AA#3C26AA

#3C26AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.195 H 280.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3C26AA
RGBrgb(60, 38, 170)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 78%, 67%)
CMYKcmyk(64.7%, 77.6%, 0%, 33.3%)
CIE-LABlab(27.43, 47.34, -66.57)
CIE-LCHlch(27.43, 81.68, 305.42°)
OKLaboklab(39.54% 0.0347 -0.1921)
OKLCHoklch(39.54% 0.195 280.2)
XYZxyz(9.8100, 5.2484, 38.5185)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C26AA #94AA26
analogous
#2652AA #3C26AA #7E26AA
triadic
#3C26AA #AA3C26 #26AA3C
tetradic
#3C26AA #AA2652 #94AA26 #26AA7E
square
#3C26AA #AA2652 #94AA26 #26AA7E
split-complementary
#3C26AA #AA7E26 #52AA26
monochromatic
#191046 #2A1B78 #3C26AA #543AD3 #7F6CDE

Accessibility & contrast

On white

10.24
#3C26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3C26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C26AA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C26AA#FFFFFF#000000##FFFFFF
##3C26AA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c26aa;
/* rgb */ color: rgb(60, 38, 170);
/* oklch */ color: oklch(39.5% 0.195 280.2);
Tailwind
colors: {
  custom: {
    50: '#8164c5',
    500: '#3c26aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c26aa;
$custom-light: #8164c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c26aa",
  "rgb": {
    "r": 60,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 250,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.19525,
    "h": 280.2
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#3C26AA
secondary
#B5C567
accent
#E641CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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