#3C1481#3C1481

#3C1481 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.2% C 0.164 H 291.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3C1481
RGBrgb(60, 20, 129)
HSLhsl(262, 73%, 29%)
HSVhsv(262, 84%, 51%)
CMYKcmyk(53.5%, 84.5%, 0%, 49.4%)
CIE-LABlab(20.23, 43.76, -53.15)
CIE-LCHlch(20.23, 68.85, 309.47°)
OKLaboklab(33.24% 0.0592 -0.1528)
OKLCHoklch(33.24% 0.164 291.2)
XYZxyz(6.0749, 3.0457, 21.0324)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1481 #598114
analogous
#142381 #3C1481 #731481
triadic
#3C1481 #813C14 #14813C
tetradic
#3C1481 #811423 #598114 #148173
square
#3C1481 #811423 #598114 #148173
split-complementary
#3C1481 #817314 #238114
monochromatic
#0C041A #230C4C #3C1481 #551CB6 #7030DF

Accessibility & contrast

On white

13.05
#3C1481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3C1481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1481
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1481#FFFFFF#000000##FFFFFF
##3C14811.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#23354C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1481;
/* rgb */ color: rgb(60, 20, 129);
/* oklch */ color: oklch(33.2% 0.164 291.2);
Tailwind
colors: {
  custom: {
    50: '#7a58a7',
    500: '#3c1481',
    950: '#000000',
  },
}
SCSS
$custom: #3c1481;
$custom-light: #7a58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1481",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 262.018,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33243,
    "c": 0.16385,
    "h": 291.2
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#3C1481
secondary
#89B63B
accent
#F038AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1481

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

Preview Lab → · Contrast checker → · Palette generator →

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