#3C1381#3C1381

#3C1381 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.165 H 291.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#3C1381
RGBrgb(60, 19, 129)
HSLhsl(262, 74%, 29%)
HSVhsv(262, 85%, 51%)
CMYKcmyk(53.5%, 85.3%, 0%, 49.4%)
CIE-LABlab(20.09, 44.17, -53.38)
CIE-LCHlch(20.09, 69.29, 309.61°)
OKLaboklab(33.15% 0.0598 -0.1534)
OKLCHoklch(33.15% 0.165 291.3)
XYZxyz(6.0577, 3.0111, 21.0266)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1381 #588113
analogous
#132181 #3C1381 #731381
triadic
#3C1381 #813C13 #13813C
tetradic
#3C1381 #811321 #588113 #138173
square
#3C1381 #811321 #588113 #138173
split-complementary
#3C1381 #817313 #218113
monochromatic
#0C041B #230B4C #3C1381 #551BB6 #712EE0

Accessibility & contrast

On white

13.11
#3C1381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C1381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1381
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1381#FFFFFF#000000##FFFFFF
##3C13811.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1381;
/* rgb */ color: rgb(60, 19, 129);
/* oklch */ color: oklch(33.1% 0.165 291.3);
Tailwind
colors: {
  custom: {
    50: '#7b58a7',
    500: '#3c1381',
    950: '#000000',
  },
}
SCSS
$custom: #3c1381;
$custom-light: #7b58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1381",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 262.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.16469,
    "h": 291.3
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#3C1381
secondary
#88B63A
accent
#F137AC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1381

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

Preview Lab → · Contrast checker → · Palette generator →

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