#3C23AC#3C23AC

#3C23AC is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.200 H 280.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3C23AC
RGBrgb(60, 35, 172)
HSLhsl(251, 66%, 41%)
HSVhsv(251, 80%, 67%)
CMYKcmyk(65.1%, 79.7%, 0%, 32.5%)
CIE-LABlab(27.13, 49.41, -68.27)
CIE-LCHlch(27.13, 84.27, 305.90°)
OKLaboklab(39.39% 0.0358 -0.1971)
OKLCHoklch(39.39% 0.2 280.3)
XYZxyz(9.9085, 5.1405, 39.4918)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23AC #93AC23
analogous
#234EAC #3C23AC #8023AC
triadic
#3C23AC #AC3C23 #23AC3C
tetradic
#3C23AC #AC234E #93AC23 #23AC80
square
#3C23AC #AC234E #93AC23 #23AC80
split-complementary
#3C23AC #AC8023 #4EAC23
monochromatic
#190E46 #2A1979 #3C23AC #5336D6 #7F69E0

Accessibility & contrast

On white

10.35
#3C23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C23AC
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23AC#FFFFFF#000000##FFFFFF
##3C23AC1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c23ac;
/* rgb */ color: rgb(60, 35, 172);
/* oklch */ color: oklch(39.4% 0.200 280.3);
Tailwind
colors: {
  custom: {
    50: '#8162c6',
    500: '#3c23ac',
    950: '#000000',
  },
}
SCSS
$custom: #3c23ac;
$custom-light: #8162c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23ac",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 250.949,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.20029,
    "h": 280.3
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#3C23AC
secondary
#B4C664
accent
#E93FCA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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