#3C23AB#3C23AB

#3C23AB is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.199 H 280.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3C23AB
RGBrgb(60, 35, 171)
HSLhsl(251, 66%, 40%)
HSVhsv(251, 80%, 67%)
CMYKcmyk(64.9%, 79.5%, 0%, 32.9%)
CIE-LABlab(27.02, 49.11, -67.84)
CIE-LCHlch(27.02, 83.75, 305.90°)
OKLaboklab(39.29% 0.0361 -0.1958)
OKLCHoklch(39.29% 0.199 280.4)
XYZxyz(9.8129, 5.1022, 38.9879)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23AB #92AB23
analogous
#234EAB #3C23AB #8023AB
triadic
#3C23AB #AB3C23 #23AB3C
tetradic
#3C23AB #AB234E #92AB23 #23AB80
square
#3C23AB #AB234E #92AB23 #23AB80
split-complementary
#3C23AB #AB8023 #4EAB23
monochromatic
#180E45 #2A1978 #3C23AB #5335D6 #7E68E0

Accessibility & contrast

On white

10.39
#3C23AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3C23AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23AB
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23AB#FFFFFF#000000##FFFFFF
##3C23AB1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c23ab;
/* rgb */ color: rgb(60, 35, 171);
/* oklch */ color: oklch(39.3% 0.199 280.4);
Tailwind
colors: {
  custom: {
    50: '#8162c5',
    500: '#3c23ab',
    950: '#000000',
  },
}
SCSS
$custom: #3c23ab;
$custom-light: #8162c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23ab",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 251.029,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.19912,
    "h": 280.4
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C23AB

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

Preview Lab → · Contrast checker → · Palette generator →

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