#3C23A8#3C23A8

#3C23A8 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.196 H 280.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3C23A8
RGBrgb(60, 35, 168)
HSLhsl(251, 66%, 40%)
HSVhsv(251, 79%, 66%)
CMYKcmyk(64.3%, 79.2%, 0%, 34.1%)
CIE-LABlab(26.70, 48.22, -66.56)
CIE-LCHlch(26.70, 82.19, 305.92°)
OKLaboklab(38.97% 0.037 -0.1921)
OKLCHoklch(38.97% 0.196 280.9)
XYZxyz(9.5302, 4.9891, 37.4990)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23A8 #8FA823
analogous
#234DA8 #3C23A8 #7E23A8
triadic
#3C23A8 #A83C23 #23A83C
tetradic
#3C23A8 #A8234D #8FA823 #23A87E
square
#3C23A8 #A8234D #8FA823 #23A87E
split-complementary
#3C23A8 #A87E23 #4DA823
monochromatic
#180E43 #2A1875 #3C23A8 #5234D5 #7D66DF

Accessibility & contrast

On white

10.51
#3C23A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3C23A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23A8
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23A8#FFFFFF#000000##FFFFFF
##3C23A81.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c23a8;
/* rgb */ color: rgb(60, 35, 168);
/* oklch */ color: oklch(39.0% 0.196 280.9);
Tailwind
colors: {
  custom: {
    50: '#8162c3',
    500: '#3c23a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c23a8;
$custom-light: #8162c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23a8",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 251.278,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38969,
    "c": 0.19562,
    "h": 280.9
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#3C23A8
secondary
#B2C562
accent
#E83FC9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C23A8

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

Preview Lab → · Contrast checker → · Palette generator →

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