#3C1A67#3C1A67

#3C1A67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.127 H 299.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#3C1A67
RGBrgb(60, 26, 103)
HSLhsl(266, 60%, 25%)
HSVhsv(266, 75%, 40%)
CMYKcmyk(41.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(18.71, 33.66, -38.89)
CIE-LCHlch(18.71, 51.44, 310.88°)
OKLaboklab(31.41% 0.0617 -0.111)
OKLCHoklch(31.41% 0.127 299.1)
XYZxyz(4.6804, 2.6787, 13.0998)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A67 #45671A
analogous
#1A1E67 #3C1A67 #631A67
triadic
#3C1A67 #673C1A #1A673C
tetradic
#3C1A67 #671A1E #45671A #1A6763
square
#3C1A67 #671A1E #45671A #1A6763
split-complementary
#3C1A67 #67631A #1E671A
monochromatic
#0E0618 #200E36 #3C1A67 #582698 #7533C9

Accessibility & contrast

On white

13.67
#3C1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A67
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A67#FFFFFF#000000##FFFFFF
##3C1A671.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#322D3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1a67;
/* rgb */ color: rgb(60, 26, 103);
/* oklch */ color: oklch(31.4% 0.127 299.1);
Tailwind
colors: {
  custom: {
    50: '#765a93',
    500: '#3c1a67',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a67;
$custom-light: #765a93;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a67",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 266.494,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.127,
    "h": 299.1
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#3C1A67
secondary
#749D40
accent
#E3459D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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