#3C23A7#3C23A7

#3C23A7 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.194 H 281.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3C23A7
RGBrgb(60, 35, 167)
HSLhsl(251, 65%, 40%)
HSVhsv(251, 79%, 65%)
CMYKcmyk(64.1%, 79%, 0%, 34.5%)
CIE-LABlab(26.60, 47.92, -66.13)
CIE-LCHlch(26.60, 81.67, 305.93°)
OKLaboklab(38.86% 0.0373 -0.1908)
OKLCHoklch(38.86% 0.194 281)
XYZxyz(9.4374, 4.9520, 37.0102)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23A7 #8EA723
analogous
#234CA7 #3C23A7 #7E23A7
triadic
#3C23A7 #A73C23 #23A73C
tetradic
#3C23A7 #A7234C #8EA723 #23A77E
square
#3C23A7 #A7234C #8EA723 #23A77E
split-complementary
#3C23A7 #A77E23 #4CA723
monochromatic
#180E42 #2A1874 #3C23A7 #5233D4 #7D66DF

Accessibility & contrast

On white

10.55
#3C23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3C23A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23A7
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23A7#FFFFFF#000000##FFFFFF
##3C23A71.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3c23a7;
/* rgb */ color: rgb(60, 35, 167);
/* oklch */ color: oklch(38.9% 0.194 281.0);
Tailwind
colors: {
  custom: {
    50: '#8062c2',
    500: '#3c23a7',
    950: '#000000',
  },
}
SCSS
$custom: #3c23a7;
$custom-light: #8062c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23a7",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 251.364,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.19445,
    "h": 281
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#3C23A7
secondary
#B2C461
accent
#E83FC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3C23A7

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

Preview Lab → · Contrast checker → · Palette generator →

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