#3C1EA8#3C1EA8

#3C1EA8 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.200 H 281.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3C1EA8
RGBrgb(60, 30, 168)
HSLhsl(253, 70%, 39%)
HSVhsv(253, 82%, 66%)
CMYKcmyk(64.3%, 82.1%, 0%, 34.1%)
CIE-LABlab(25.91, 50.53, -67.88)
CIE-LCHlch(25.91, 84.62, 306.67°)
OKLaboklab(38.42% 0.0396 -0.1959)
OKLCHoklch(38.42% 0.2 281.4)
XYZxyz(9.3934, 4.7156, 37.4534)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1EA8 #8AA81E
analogous
#1E45A8 #3C1EA8 #811EA8
triadic
#3C1EA8 #A83C1E #1EA83C
tetradic
#3C1EA8 #A81E45 #8AA81E #1EA881
square
#3C1EA8 #A81E45 #8AA81E #1EA881
split-complementary
#3C1EA8 #A8811E #45A81E
monochromatic
#170B40 #291574 #3C1EA8 #502AD9 #7B5EE2

Accessibility & contrast

On white

10.81
#3C1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3C1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1EA8
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1EA8#FFFFFF#000000##FFFFFF
##3C1EA81.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3c1ea8;
/* rgb */ color: rgb(60, 30, 168);
/* oklch */ color: oklch(38.4% 0.200 281.4);
Tailwind
colors: {
  custom: {
    50: '#8160c3',
    500: '#3c1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3c1ea8;
$custom-light: #8160c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1ea8",
  "rgb": {
    "r": 60,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 253.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.19983,
    "h": 281.4
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#3C1EA8
secondary
#AFC75B
accent
#ED3BC6
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3C1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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