#3C23B0#3C23B0

#3C23B0 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.205 H 279.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3C23B0
RGBrgb(60, 35, 176)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(65.9%, 80.1%, 0%, 31%)
CIE-LABlab(27.56, 50.60, -69.95)
CIE-LCHlch(27.56, 86.33, 305.88°)
OKLaboklab(39.82% 0.0346 -0.202)
OKLCHoklch(39.82% 0.205 279.7)
XYZxyz(10.2985, 5.2965, 41.5455)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23B0 #97B023
analogous
#2351B0 #3C23B0 #8323B0
triadic
#3C23B0 #B03C23 #23B03C
tetradic
#3C23B0 #B02351 #97B023 #23B083
square
#3C23B0 #B02351 #97B023 #23B083
split-complementary
#3C23B0 #B08323 #51B023
monochromatic
#190F4A #2B197D #3C23B0 #5539D8 #816CE2

Accessibility & contrast

On white

10.20
#3C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23B0
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23B0#FFFFFF#000000##FFFFFF
##3C23B01.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c23b0;
/* rgb */ color: rgb(60, 35, 176);
/* oklch */ color: oklch(39.8% 0.205 279.7);
Tailwind
colors: {
  custom: {
    50: '#8263c9',
    500: '#3c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #3c23b0;
$custom-light: #8263c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23b0",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 250.638,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.20492,
    "h": 279.7
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#3C23B0
secondary
#B7C867
accent
#EA3ECB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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