#3C1769#3C1769

#3C1769 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.133 H 298.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#3C1769
RGBrgb(60, 23, 105)
HSLhsl(267, 64%, 25%)
HSVhsv(267, 78%, 41%)
CMYKcmyk(42.9%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.34, 35.77, -40.81)
CIE-LCHlch(18.34, 54.27, 311.24°)
OKLaboklab(31.21% 0.0644 -0.1166)
OKLCHoklch(31.21% 0.133 298.9)
XYZxyz(4.7190, 2.5933, 13.6138)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1769 #446917
analogous
#171B69 #3C1769 #651769
triadic
#3C1769 #693C17 #17693C
tetradic
#3C1769 #69171B #446917 #176965
square
#3C1769 #69171B #446917 #176965
split-complementary
#3C1769 #696517 #1B6917
monochromatic
#0E0519 #1F0C37 #3C1769 #59229B #752DCD

Accessibility & contrast

On white

13.83
#3C1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1769
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1769#FFFFFF#000000##FFFFFF
##3C17691.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#312C3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1769;
/* rgb */ color: rgb(60, 23, 105);
/* oklch */ color: oklch(31.2% 0.133 298.9);
Tailwind
colors: {
  custom: {
    50: '#775895',
    500: '#3c1769',
    950: '#000000',
  },
}
SCSS
$custom: #3c1769;
$custom-light: #775895;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1769",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 267.073,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31206,
    "c": 0.13322,
    "h": 298.9
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#3C1769
secondary
#739F3D
accent
#E7419C
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1769

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

Preview Lab → · Contrast checker → · Palette generator →

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