#3C1EA6#3C1EA6

#3C1EA6 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.198 H 281.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA6
RGBrgb(60, 30, 166)
HSLhsl(253, 69%, 38%)
HSVhsv(253, 82%, 65%)
CMYKcmyk(63.9%, 81.9%, 0%, 34.9%)
CIE-LABlab(25.69, 49.95, -67.03)
CIE-LCHlch(25.69, 83.60, 306.69°)
OKLaboklab(38.2% 0.0403 -0.1934)
OKLCHoklch(38.2% 0.198 281.8)
XYZxyz(9.2085, 4.6417, 36.4797)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA6 #88A61E
analogous
#1E44A6 #3C1EA6 #801EA6
triadic
#3C1EA6 #A63C1E #1EA63C
tetradic
#3C1EA6 #A61E44 #88A61E #1EA680
square
#3C1EA6 #A61E44 #88A61E #1EA680
split-complementary
#3C1EA6 #A6801E #44A61E
monochromatic
#170B3E #291572 #3C1EA6 #5029D8 #7A5DE2

Accessibility & contrast

On white

10.89
#3C1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3C1EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1EA6
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA6#FFFFFF#000000##FFFFFF
##3C1EA61.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c1ea6;
/* rgb */ color: rgb(60, 30, 166);
/* oklch */ color: oklch(38.2% 0.198 281.8);
Tailwind
colors: {
  custom: {
    50: '#805fc2',
    500: '#3c1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea6;
$custom-light: #805fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea6",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 253.235,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38201,
    "c": 0.19755,
    "h": 281.8
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#3C1EA6
secondary
#AEC65A
accent
#EC3CC5
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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