#3C27A3#3C27A3

#3C27A3 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.186 H 281.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3C27A3
RGBrgb(60, 39, 163)
HSLhsl(250, 61%, 40%)
HSVhsv(250, 76%, 64%)
CMYKcmyk(63.2%, 76.1%, 0%, 36.1%)
CIE-LABlab(26.89, 44.67, -63.23)
CIE-LCHlch(26.89, 77.42, 305.24°)
OKLaboklab(38.95% 0.0359 -0.1824)
OKLCHoklch(38.95% 0.186 281.1)
XYZxyz(9.1978, 5.0554, 35.1343)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27A3 #8EA327
analogous
#2750A3 #3C27A3 #7A27A3
triadic
#3C27A3 #A33C27 #27A33C
tetradic
#3C27A3 #A32750 #8EA327 #27A37A
square
#3C27A3 #A32750 #8EA327 #27A37A
split-complementary
#3C27A3 #A37A27 #50A327
monochromatic
#180F40 #2A1B72 #3C27A3 #5238CF #7D69DB

Accessibility & contrast

On white

10.44
#3C27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3C27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27A3
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27A3#FFFFFF#000000##FFFFFF
##3C27A31.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3c27a3;
/* rgb */ color: rgb(60, 39, 163);
/* oklch */ color: oklch(38.9% 0.186 281.1);
Tailwind
colors: {
  custom: {
    50: '#7f64bf',
    500: '#3c27a3',
    950: '#000000',
  },
}
SCSS
$custom: #3c27a3;
$custom-light: #7f64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27a3",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 250.161,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38945,
    "c": 0.1859,
    "h": 281.1
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#3C27A3
secondary
#B2C164
accent
#E443C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3C27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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