#3C23A4#3C23A4

#3C23A4 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.191 H 281.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3C23A4
RGBrgb(60, 35, 164)
HSLhsl(252, 65%, 39%)
HSVhsv(252, 79%, 64%)
CMYKcmyk(63.4%, 78.7%, 0%, 35.7%)
CIE-LABlab(26.28, 47.02, -64.84)
CIE-LCHlch(26.28, 80.10, 305.95°)
OKLaboklab(38.55% 0.0381 -0.1871)
OKLCHoklch(38.55% 0.191 281.5)
XYZxyz(9.1632, 4.8424, 35.5666)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23A4 #8BA423
analogous
#234BA4 #3C23A4 #7D23A4
triadic
#3C23A4 #A43C23 #23A43C
tetradic
#3C23A4 #A4234B #8BA423 #23A47D
square
#3C23A4 #A4234B #8BA423 #23A47D
split-complementary
#3C23A4 #A47D23 #4BA423
monochromatic
#170D3F #2A1872 #3C23A4 #5131D3 #7B64DE

Accessibility & contrast

On white

10.67
#3C23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3C23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23A4
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23A4#FFFFFF#000000##FFFFFF
##3C23A41.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3c23a4;
/* rgb */ color: rgb(60, 35, 164);
/* oklch */ color: oklch(38.5% 0.191 281.5);
Tailwind
colors: {
  custom: {
    50: '#8062c0',
    500: '#3c23a4',
    950: '#000000',
  },
}
SCSS
$custom: #3c23a4;
$custom-light: #8062c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23a4",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 251.628,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38548,
    "c": 0.19092,
    "h": 281.5
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#3C23A4
secondary
#B0C360
accent
#E840C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3C23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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